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
-
3941 Solvers
-
Back to basics 6 - Column Vector
1112 Solvers
-
Find the index of n in magic(n)
273 Solvers
-
1748 Solvers
-
Flip the vector from right to left
11242 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!