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 Solvers42
Suggested Problems
-
Getting the indices from a vector
10352 Solvers
-
Magic is simple (for beginners)
9723 Solvers
-
726 Solvers
-
Side of an equilateral triangle
6355 Solvers
-
162 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!