Problem 45465. Squares of odd numbers upto a given range
Find the squares of odd numbers upto a given range. If Given x=6 return y=(1^2,3^2,5^2) y=1,9,25 If Given x=5 return y=(1^2,3^2,5^2) y=1,9,25
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers37
Suggested Problems
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2106 Solvers
-
Calculate the area of a triangle between three points
2836 Solvers
-
Determine the number of odd integers in a vector
706 Solvers
-
Sum the numbers on the main diagonal
572 Solvers
-
4737 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!