Sum of cubes - MATLAB Cody - MATLAB Central

Problem 43123. Sum of cubes

Difficulty:Rate

Write a program to determine sum of cubes of first n odd numbers.

Solution Stats

47.23% Correct | 52.77% Incorrect
Last Solution submitted on May 18, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
3
4

Problem Recent Solvers107

Suggested Problems

More from this Author8

Problem Tags

Community Treasure Hunt

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

Start Hunting!