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

7 Ansichten (letzte 30 Tage)
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)

Akzeptierte Antwort

Adam
Adam am 15 Aug. 2018
Bearbeitet: Adam am 15 Aug. 2018
res = Y ./ S;

Weitere Antworten (0)

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