Normalize data set between 0 and 1
3 ビュー (過去 30 日間)
古いコメントを表示
I have a data set in excel sheet and my task is to normalize these data between 0 and 1 .I 1st try to get max or min value but give me in exponential format although i try format short format long but does not give right value..help me
1 件のコメント
Ameetha
2021 年 2 月 4 日
DID YOU GET THE SOLUTION FOR THIS? IF SO PLS GIVE ME THE CODE TO NORMALIZE VALUES BETWEEN O AND 1 after reading from various columns of an excel sheet in matlab
回答 (3 件)
Image Analyst
2017 年 10 月 17 日
If you have the Image Processing Toolbox, you can normalize an array to between 0 and 1 by doing this:
normalizedData = mat2gray(data);
0 件のコメント
Star Strider
2017 年 10 月 17 日
The format is not important with respect to the calculations. The values you want from your imported Excel data, and the minimum and maximum, retain their full precision regardless of how they are displayed.
If you want to change the Command Window format of your numbers, see the documentation for the format (link) function.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Import from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!