solving an equation using linsolve...............

In the following:
s =
2 3
3 4
t =
1
2
[p q]=linsolve(s,t)
p =
2.0000
-1.0000
q =
0.0204
How to find out q manually........

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 2월 22일
편집: Azzi Abdelmalek 2013년 2월 22일

0 개 추천

I am not sure what you mean by manually:
q=rcond(s)

댓글 수: 3

Tankeswar Kumar
Tankeswar Kumar 2013년 2월 22일
편집: Tankeswar Kumar 2013년 2월 22일
My question is how q is calculated mathematically.....Manually means mathematically solve..............
1/(norm(s,1)*norm(inv(s),1))
In your case
norm(s,1)=max(2+3,3+4)=7
inv(s)=
-4 3
3 -2
norm(inv(s),1)=max(abs(-4)+3,3+abs(-2))=7
Then
rcond(s)=1/(7*7)=0.204

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Linear Algebra에 대해 자세히 알아보기

태그

질문:

2013년 2월 22일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by