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

27 visualizaciones (últimos 30 días)
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)

Respuesta aceptada

Adam
Adam el 15 de Ag. de 2018
Editada: Adam el 15 de Ag. de 2018
res = Y ./ S;

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by