Can MATLAB divide two row vectors?
7 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
更多回答(1 个)
Luca Kaiser
2022-5-31
Hi can anyone explain what Matlab is doing to get the 0.5844?
Thanks!
2 个评论
Stephen23
2022-5-31
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."
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!