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 Solvers44
Suggested Problems
-
9171 Solvers
-
Make a vector of prime numbers
970 Solvers
-
Create an index-powered vector
963 Solvers
-
Matlab Basics - Absolute Value
679 Solvers
-
Sum the squares of numbers from 1 to n
261 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!