Problem 45465. Squares of odd numbers upto a given range
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 commentsProblem Recent Solvers41
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
9104 Solvers
-
Create a vector whose elements depend on the previous element
759 Solvers
-
Convert a Cell Array into an Array
2112 Solvers
-
772 Solvers
-
Back to basics - mean of corner elements of a matrix
454 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!