Squares of odd numbers upto a given range - MATLAB Cody - MATLAB Central

Problem 45465. Squares of odd numbers upto a given range

Difficulty:Rate

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

65.63% Correct | 34.38% Incorrect
Last Solution submitted on Jan 09, 2025

Solution Comments

Show comments
Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Problem Recent Solvers39

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page