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
-
Find the sum of the elements in the "second" diagonal
1176 Solvers
-
1212 Solvers
-
496 Solvers
-
How long do each of the stages of the rocket take to burn?
396 Solvers
-
170 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!