Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 1;
y = 1;
assert(isequal(cube(x),y))
ans =
1
|
2 | Pass |
%%
x = 2;
y = 8;
assert(isequal(cube(x),y))
ans =
8
|
Flip the main diagonal of a matrix
506 Solvers
Fahrenheit to Celsius converter
358 Solvers
201 Solvers
Back to Basics - Find no. of elements in a matrix?
216 Solvers
309 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!