Cody

Problem 1356. Equal to their cube

Solution 418929

Submitted on 16 Mar 2014 by Abdullah Caliskan
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 = 1 -1 0 y = 1 -1 0

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!