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 comments
Loading...
Problem Recent Solvers42
Suggested Problems
-
Compute a dot product of two vectors x and y
1049 Solvers
-
10105 Solvers
-
Pernicious Anniversary Problem
836 Solvers
-
Convert from Fahrenheit to Celsius
27622 Solvers
-
Create a vector of the first n odd numbers (★)
133 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!