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
-
How to find the position of an element in a vector without using the find function
2822 Solvers
-
Reverse the elements of an array
1146 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1284 Solvers
-
540 Solvers
-
190 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!