code to normalize( between 0 and 1) a matrix 65*11811. The normalization process should be for each row not column**. In other words, the program should seek for the largest value in each row and divide all the elements in that row by it.
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
hello everyone... i need a code to normalize( between 0 and 1) a matrix 65*11811. The normalization process should be for each row not column**. In other words, the program should seek for the largest value in each row and divide all the elements in that row by it. can anybody help plzz
0 Kommentare
Antworten (1)
Birdman
am 5 Apr. 2018
Consider you have these variables in A matrix:
res=A./max(A,[],2)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!