Problem 542. Vectorizing, too easy or too hard?

Solution 1005614

Submitted on 10 Oct 2016 by Jamil Kasan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass

ans = x.*x ans = x.*x ans = x.*x

2   Pass

ans = x^y ans = x.^y ans = x.^y

3   Pass

ans = x/z ans = x/z ans = x./z

4   Pass

ans = (x.*y)/z^w ans = (x.*y)/z.^w ans = (x.*y)./z.^w

Suggested Problems

More from this Author100

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!