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 10, Sum of Primes
2125 Solvers
-
Number of 1s in a binary string
11418 Solvers
-
Check if number exists in vector
14319 Solvers
-
318 Solvers
-
408 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!