Cody

Problem 1356. Equal to their cube

Solution 487323

Submitted on 17 Aug 2014 by bainhome
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))

ans = -1 0 1 ans = -1 0 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!