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 Solvers41
Suggested Problems
-
13933 Solvers
-
Compute a dot product of two vectors x and y
1028 Solvers
-
Check if number exists in vector
13335 Solvers
-
Relative ratio of "1" in binary number
1542 Solvers
-
Check that number is whole number
4989 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!