Problem 58643. Sum of Squares
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 commentsProblem Recent Solvers43
Suggested Problems
-
Return the largest number that is adjacent to a zero
5487 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13113 Solvers
-
2202 Solvers
-
106 Solvers
-
50 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!