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
-
Sort a list of complex numbers based on far they are from the origin.
5767 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
549 Solvers
-
Area of an equilateral triangle
6663 Solvers
-
399 Solvers
-
5795 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!