Re: [问题] How to solve Ax=b that A is not inve …

楼主: BlueKidds (布鲁奇德)   2006-04-16 01:09:21
※ 引述《Yyh (我爱批踢踢)》之铭言:
: ※ 引述《brooky (未够班)》之铭言:
: Thank you! I have solved it :p
: : Can we just use 'lsfit' ?
: : *****************************************
: : Description of lsfit:
: : The least squares estimate of *b* in the model
: : y = X b + e
: : is found.
: : *****************************************
: hmm, lsfit could be used to verify our answer.
: btw, when I run the dataset "space_ga",
: I got the following statement,
: 错误在solve.default(lhs) : 系统计算上是独特的: 互反条件数=6.78798e-020
: But "lhs" is invertible (lhs is square and det(lhs)!=0)
: what's wrong here?
hi dear pal~
did you try this data set in lsfit?
what if it works in lsfit....

Links booklink

Contact Us: admin [ a t ] ucptt.com