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.

2 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

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

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by