This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 1;
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
x = 2;
y =2;
y_correct = 4;
assert(isequal(your_fcn_name(x,y),y_correct))
y =
4
|
3 | Pass |
x = 2;
y= 2;
z=3;
y_correct = 64;
assert(isequal(your_fcn_name(x,y,z),y_correct))
y =
4
y =
64
|
348 Solvers
Sum of diagonals elements of a matrix
166 Solvers
Find out sum of all elements of given Matrix
349 Solvers
Matlab Basics - Pick out parts of a vector
198 Solvers
121 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!