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
-
Project Euler: Problem 3, Largest prime factor
1821 Solvers
-
Getting the indices from a vector
12399 Solvers
-
1245 Solvers
-
Replace multiples of 5 with NaN
472 Solvers
-
Solve a System of Linear Equations
14896 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!