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 2, Sum of even Fibonacci
2830 Solvers
-
Cell Counting: How Many Draws?
2385 Solvers
-
1214 Solvers
-
Test Problem; Create a 5x5 array containing all ones
405 Solvers
-
1027 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!