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
-
Replace NaNs with the number that appears to its left in the row.
3071 Solvers
-
Magic is simple (for beginners)
11731 Solvers
-
Sum of first n positive integers
630 Solvers
-
07 - Common functions and indexing 6
468 Solvers
-
2065 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!