找到一个 1x3 矩阵,结果为零矩阵

发布于 2024-09-08 08:42:14 字数 506 浏览 2 评论 0原文

我知道一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

绅刃 2024-09-15 08:42:14

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

溺孤伤于心 2024-09-15 08:42:14

这个问题Ax=b可以使用高斯算法来解决。

This problem Ax=b can be solved using the gaussian algorithm.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文