Filter löschen
Filter löschen

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)
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

Antworten (1)

Birdman
Birdman am 5 Apr. 2018
Consider you have these variables in A matrix:
res=A./max(A,[],2)

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!

Translated by