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
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers13
Suggested Problems
-
Omit columns averages from a matrix
620 Solvers
-
Make a random, non-repeating vector.
11794 Solvers
-
Rounding off numbers to n decimals
5804 Solvers
-
77 Solvers
-
Flip the vector from right to left
11439 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
@VBBV, I strongly recommend you to remove the solution from the solution template and update the test suite with atleast 4 good quality test cases.