Cody

Solution 1039705

Submitted on 31 Oct 2016 by Bert
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
assert(isequal(vect('x*x'),'x.*x'))

i = [] i = 2 x = x.*x i = []

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

i = 2 x = x.^y i = [] i = []

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

i = [] i = [] i = 2 x = x./z

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

i = 8 x = (x*y)/z.^w i = 3 x = (x.*y)/z.^w i = 7 x = (x.*y)./z.^w

Suggested Problems

More from this Author100