早教吧 育儿知识 作业答案 考试题库 百科 知识分享

矩阵乘法问题(答的好有加分)A*B=C假设A,B,C都是方阵,已知A和C,则B=INV(A)*C,但是假设A,B,C都不是方阵,已知A和C怎样求B呢?在MATLAB里又怎样运算?假设A(4,2),B(2,5)C(4,5)

题目详情
矩阵乘法问题 (答的好有加分)
A*B=C假设A,B,C都是方阵,已知A和C,则B=INV(A)*C,但是假设A,B,C都不是方阵,已知A和C怎样求B呢?在MATLAB里又怎样运算?假设A(4,2),B(2,5)
C(4,5)
▼优质解答
答案和解析
A is not necessary to be square matrix. Then there does not exist the inverse of A. However, you can use pseudo inverse instead. In MATLAB, the function is pinv(A). For example,>> a=[2 5;3 7;4 9];...