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
-
Split a string into chunks of specified length
2034 Solvers
-
Sum the numbers on the main diagonal
609 Solvers
-
Back to basics - mean of corner elements of a matrix
454 Solvers
-
6213 Solvers
-
2681 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!