if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers130
Suggested Problems
-
Longest run of consecutive numbers
6731 Solvers
-
Create matrix of replicated elements
402 Solvers
-
Switch matrix to a column vector
378 Solvers
-
07 - Common functions and indexing 5
430 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
264 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!