Problem 59846. Sequencing Odd Even numbers
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
Solution Comments
Show commentsProblem Recent Solvers8
Suggested Problems
-
Remove any row in which a NaN appears
8549 Solvers
-
Sort a list of complex numbers based on far they are from the origin.
5603 Solvers
-
5561 Solvers
-
Project Euler: Problem 3, Largest prime factor
1400 Solvers
-
183 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!