How to divide every column of an array with another column of the same length?

8 ビュー (過去 30 日間)
Ngial
Ngial 2018 年 8 月 15 日
コメント済み: Ngial 2018 年 8 月 15 日
I have a numerical array Y (1058x18) and another numerical array S (1058x1). I want to divide every column of Y with the single column of S and have an output X (1058x18)

採用された回答

Adam
Adam 2018 年 8 月 15 日
編集済み: Adam 2018 年 8 月 15 日
res = Y ./ S;

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by