How can my script calculate 1^3 + 2^3 + ⋯ + 10^3 + 11^3 using a for/while loop in matlab?
1 view (last 30 days)
Show older comments
I'm interested to see how I could calculate 1^3 + 2^3.... 11^3 using for/ while loops.
If I used vectors, how would this differ?
0 Comments
Answers (1)
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!