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
-
Set the array elements whose value is 13 to 0
1457 Solvers
-
Change the sign of even index entries of the reversed vector
661 Solvers
-
Test if two numbers have the same digits
267 Solvers
-
Calculate the derivative of a polynomial
240 Solvers
-
179 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!