How map values of array to 0 and 1
Show older comments
How can i write a function such that it takes an array, and outputs an array of same size with values lying in [0,1] but also that the largest value is mapped to 1, and smallest to 0?
Answers (2)
Categories
Find more on Data Types in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!