Matrix Division: Different sized matrices
Ältere Kommentare anzeigen
I have one matrix A = [745 678]. I have another matrix B = [745 1].
I want to compute A / B. I want the result to be a [745 678] matrix. So basically every row in A (from 1 to 678) will be divided by the column matrix B. The end result will be all the matrix elements of A divided by the matrix elements of B.
Akzeptierte Antwort
Weitere Antworten (1)
John D'Errico
am 7 Jun. 2019
2 Stimmen
Is there a reason why you have not read the getting started tutorials? The manual is always a good thing to read.
C = A./B;
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!