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
-
Create matrix of replicated elements
397 Solvers
-
Switch matrix to a column vector
374 Solvers
-
Create an index-powered vector
938 Solvers
-
Check that number is whole number
5193 Solvers
-
363 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!