Given a vector v of length n, write a MATLAB function to calculate the sum of the squares of its elements.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers47
Suggested Problems
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14323 Solvers
-
375 Solvers
-
Replace 0 indices in array with 1's
146 Solvers
-
1105 Solvers
-
112 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!