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

2 Ansichten (letzte 30 Tage)
Tankeswar Kumar
Tankeswar Kumar am 22 Feb. 2013
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........

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 22 Feb. 2013
Bearbeitet: Azzi Abdelmalek am 22 Feb. 2013
I am not sure what you mean by manually:
q=rcond(s)
  3 Kommentare
Azzi Abdelmalek
Azzi Abdelmalek am 22 Feb. 2013
1/(norm(s,1)*norm(inv(s),1))
Azzi Abdelmalek
Azzi Abdelmalek am 22 Feb. 2013
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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Linear Algebra finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by