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.

 採用された回答

Akira Agata
Akira Agata 2020 年 6 月 17 日

0 投票

normalize function can do that task, like:
rescaledTable = normalize(yourTable,'range');

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeTables についてさらに検索

製品

リリース

R2020a

質問済み:

2020 年 6 月 17 日

回答済み:

2020 年 6 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by