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
-
Project Euler: Problem 1, Multiples of 3 and 5
3671 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
884 Solvers
-
Calculate distance travelled when given radius and rotations
241 Solvers
-
Convert a Cell Array into an Array
2194 Solvers
-
364 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!