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 Solvers35
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
47440 Solvers
-
Replace NaNs with the number that appears to its left in the row.
2900 Solvers
-
Sum of diagonal of a square matrix
1551 Solvers
-
405 Solvers
-
Create an anti-identity matrix
182 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!