声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1993|回复: 4

[求助]用null 解线性齐次方程组 出错

[复制链接]
发表于 2006-4-5 10:29 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
<P>偶 刚学习matlab,现在遇到了一个小问题。<br>用 null 解线性齐次方程组时,总是得零解呢?系数矩阵是正定的阿!<br>例如<br>e =</P>
<P>  -13.8063   13.8063<br>   41.4189  -41.4189<br><br>&gt;&gt; null(e,'r')</P>
<P>ans =</P>
<P>   Empty matrix: 2-by-0<br><br>但是明明应该有解的阿。哪位大虾给指点一下。问题出在哪里了阿?<br><br>还有,null(a,'r') 和 null(a)有什么区别阿?<br></P>
[此贴子已经被作者于2006-4-5 10:30:19编辑过]

回复
分享到:

使用道具 举报

发表于 2006-4-5 14:47 | 显示全部楼层

回复:(lynette100)[求助]用null 解线性齐次方程组 ...

帮助里不是有吗?自己看吧doc null<BR>
发表于 2006-4-5 15:02 | 显示全部楼层
<P><BR>Syntax<BR>Z = null(A)<BR>Z = null(A,'r')</P>
<P>Description</P>
<P>Z = null(A) is an orthonormal basis for the null space of A obtained from the singular value decomposition. That is, A*Z has negligible elements, size(Z,2) is the nullity of A, and Z'*Z = I. <BR><BR>Z = null(A,'r') is a "rational" basis for the null space obtained from the reduced row echelon form. A*Z is zero, size(Z,2) is an estimate for the nullity of A, and, if A is a small matrix with integer elements, the elements of the reduced row echelon form (as computed using rref) are ratios of small integers. <BR>The orthonormal basis is preferable numerically, while the rational basis may be preferable pedagogically.<BR>不过我英文不好,大概明白...<BR>多多学习才是,哎,<BR>我麻时候能成为高手呢<BR>快了快了<BR>就在今天...<BR><BR>不过弱问,2-by-0是什么意思呢?2行2列全是0?</P>
发表于 2006-4-6 09:10 | 显示全部楼层

回复:(lynette100)[求助]用null 解线性齐次方程组 ...

<P>2-by-0表示2*0的矩阵</P>
 楼主| 发表于 2006-4-6 11:21 | 显示全部楼层
恩,看的有点晕,矩阵的知识都忘光了<BR><BR>现在关键是,不知道自己那样哪里出错了<BR>还望高手指点一二阿
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-10-4 23:24 , Processed in 0.052514 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表