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 all elements less than 0 or greater than 10 and replace them with NaN
15768 Solvers
-
Number of 1s in the Binary Representation of a Number
476 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1383 Solvers
-
Sum of first n positive integers
620 Solvers
-
738 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!