Cody

# Problem 542. Vectorizing, too easy or too hard?

Solution 1933534

Submitted on 12 Sep 2019
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   Fail
assert(isequal(vect('x*x'),'x.*x'))

Output argument "y" (and maybe others) not assigned during call to "vect". Error in Test1 (line 1) assert(isequal(vect('x*x'),'x.*x'))

2   Fail
assert(isequal(vect('x^y'),'x.^y'))

Output argument "y" (and maybe others) not assigned during call to "vect". Error in Test2 (line 1) assert(isequal(vect('x^y'),'x.^y'))

3   Fail
assert(isequal(vect('x/z'),'x./z'))

Output argument "y" (and maybe others) not assigned during call to "vect". Error in Test3 (line 1) assert(isequal(vect('x/z'),'x./z'))

4   Fail
assert(isequal(vect('(x*y)/z^w'),'(x.*y)./z.^w'))

Output argument "y" (and maybe others) not assigned during call to "vect". Error in Test4 (line 1) assert(isequal(vect('(x*y)/z^w'),'(x.*y)./z.^w'))