Info
此问题已关闭。 请重新打开它进行编辑或回答。
I have matrix of 200*10 it has values between 50 and 150 I have to normalize it that is I want to see values less than one.
1 次查看(过去 30 天)
显示 更早的评论
I know one way of doing is to divide it by max value but I want to know any other way i.e built in function of matlab or any other mathematical formula which shifts all values to less than one. Kindly do not mention sigmoid function as I have tried.
Thanks
3 个评论
回答(1 个)
Image Analyst
2017-1-28
There is a built-in function called mat2gray() in the Image Processing Toolbox, but it maps the min value to 0 and the max value to 1. This is slightly different than simply dividing by the max, which does not put the min value at 0 (unless it is already 0).
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!