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 Solvers40
Suggested Problems
-
1314 Solvers
-
Generate N equally spaced intervals between -L and L
918 Solvers
-
Magic is simple (for beginners)
10520 Solvers
-
Find out sum of all elements of given Matrix
519 Solvers
-
Flip the vector from right to left
10224 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!