Sequencing Odd Even numbers - MATLAB Cody - MATLAB Central

Problem 59846. Sequencing Odd Even numbers

Difficulty:Rate
Given an input value n, create a vector which contains all odd numbers & even numbers centered around mean of vector. If the mean is even/decimal number, round and rescale the even values of vecto. Similarly if the mean of vector is odd, rescale the odd numbers and present it as Odd-Even format

Solution Stats

26.19% Correct | 73.81% Incorrect
Last Solution submitted on Dec 20, 2024

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
2
4

Problem Recent Solvers10

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