How set scale limits of y-axis between 0-1 when values range from -9500 to 9200

1 次查看(过去 30 天)
I have a large data set of relflectance values
I am trying to change these values in order for the min value to be respect of 0 and max 1 i.e. -9500 = 0 and 9200 = 1
I've tried the rescale function different way but still get it scaled were all my values are between 0.508 and 0.512 rather than spread between 0 - 1
does anyone know why or have code that can help?
Thank you
Erin

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by