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 Solvers46
Suggested Problems
-
Return the largest number that is adjacent to a zero
5517 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2840 Solvers
-
764 Solvers
-
Double all elements in the array
2309 Solvers
-
1934 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!