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 comments
Loading...
Problem Recent Solvers43
Suggested Problems
-
7231 Solvers
-
17384 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1256 Solvers
-
Celsius to Fahrenheit converter
664 Solvers
-
Sum the numbers on the main diagonal
611 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!