How to rescale table columns
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Anel Ruiz
le 17 Juin 2020
Réponse apportée : Akira Agata
le 17 Juin 2020
Hi,
How can I rescale the columns of a table. I have a table of n columns, and I want to divide each column by the max of that specific column so that each column gets a value between 0 and 1.
0 commentaires
Réponse acceptée
Akira Agata
le 17 Juin 2020
normalize function can do that task, like:
rescaledTable = normalize(yourTable,'range');
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Tables dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!