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 Solvers10
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52793 Solvers
-
The Hitchhiker's Guide to MATLAB
3406 Solvers
-
Volume of a sphere given its surface area
153 Solvers
-
425 Solvers
-
Sum the real and imaginary parts of a complex number
145 Solvers
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.