找到一个 1x3 矩阵,结果为零矩阵
我知道一个 3x3 矩阵 M,我想找到一个 1x3 矩阵 P。给定的条件是:
[p1 p2 p3]*[m11 m12 m13; m21 m22 m23; m31 m32 m33] = [0 0 0]
给定是 [m11 m12 m13; m21 m22 m23; m31 m32 m33]
我必须使用 Matlab 找到 [p1 p2 p3]
的非平凡(非零)解。
我想在 Matlab 中完成,因为它是代码的一部分。如果需要,还给出一个条件:p1 + p2 + p3 = 1
PS: 我尝试过“inv”函数,它给出了矩阵的逆矩阵,但是它给出了微不足道的解决方案。我还阅读了 'svg'
和 'null'
函数,但我怀疑它们是否适用于 Ax=B
类型,我的问题是 xA=B 类型。
I know a 3x3 matrix M, and I want to find a 1x3 matrix P. The given condition is:
[p1 p2 p3]*[m11 m12 m13; m21 m22 m23; m31 m32 m33] = [0 0 0]
Given is [m11 m12 m13; m21 m22 m23; m31 m32 m33]
I have to find non trivial (non-zero) solution of [p1 p2 p3]
using Matlab.
I am wanting to be done in Matlab because its part of a code. If needed, given also is a condition:p1 + p2 + p3 = 1
P.S: I have tried the 'inv' function which gives the inverse of a matrix, however it is giving trivial solution. I have also read about the 'svg'
and 'null'
functions, but I doubt that they are meant for the Ax=B
type, where as my problem is xA=B
type.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Matlab有计算矩阵核的函数吗?如果是这样,您应该能够使用它。
看起来确实如此: http://www.mathworks.com/matlabcentral/newsreader/view_thread /45457
Does Matlab have a function for calculating the kernel of a matrix? If so, you should be able to use that.
Looks like it does: http://www.mathworks.com/matlabcentral/newsreader/view_thread/45457
这个问题Ax=b可以使用高斯算法来解决。
This problem Ax=b can be solved using the gaussian algorithm.