Cody

Solution 1182184

Submitted on 6 May 2017 by Augusto Mazzei
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'))

y = [] y = 120 y = 120 46 y = 120 46 42 y = 120 46 42 120

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

y = [] y = 120 y = 120 46 y = 120 46 94 y = 120 46 94 121

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

y = [] y = 120 y = 120 46 y = 120 46 47 y = 120 46 47 122

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

y = [] y = 40 y = 40 120 y = 40 120 46 y = 40 120 46 42 y = 40 120 46 42 121 y = 40 120 46 42 121 41 y = 40 120 46 42 121 41 46 y = 40 120 46 42 121 41 46 47 y = 40 120 46 42 121 41 46 47 122 y = 40 120 46 42 121 41 46 47 122 46 y = 40 120 46 42 121 41 46 47 122 46 94 y = 40 120 46 42 121 41 46 47 122 46 94 119