Problem 1356. Equal to their cube

Solution 291032

Submitted on 27 Jul 2013 by JeremyR
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(cube3(),cube3().^3))

y = 0 1 -1 y = 0 1 -1

Suggested Problems

More from this Author13

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!