Can MATLAB divide two row vectors?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi. I have a simple question. I inputted [3 3 3]/[4 5 6] in MATLAB and got 0.5844 (format short).
My question is how can MATLAB divide two row vectors?
0 Commenti
Risposta accettata
Azzi Abdelmalek
il 25 Nov 2013
Modificato: Azzi Abdelmalek
il 25 Nov 2013
a=[3 3 3]
b=[4 5 6]
a./b
0 Commenti
Più risposte (1)
Luca Kaiser
il 31 Mag 2022
Hi can anyone explain what Matlab is doing to get the 0.5844?
Thanks!
2 Commenti
Stephen23
il 31 Mag 2022
From the MRDIVIDE documentation: "If A is a rectangular m-by-n matrix with m ~= n, and B is a matrix with n columns, then x = B/A returns a least-squares solution of the system of equations x*A = B."
Vedere anche
Categorie
Scopri di più su Operators and Elementary Operations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!