MATLAB CONTROL SYSTEM TOOLBOX 9 Dokumentacja Strona 250

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 591
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 249
11 Reliable Computations
11-4
Conditioning and Numerical Stability
Two of the key concepts in numerical analysis are the conditioning of problems
and the stability of algorithms.
Conditioning
Consider the linear system given by
A =
0.7800 0.5630
0.9130 0.6590
b =
0.2170
0.2540
Thetruesolutionisx = [1, –1]' and youcan calculate it approximately using
MATLAB.
x = A\b
x =
1.0000
–1.0000
format long, x
x =
0.99999999991008
–0.99999999987542
Of course, in real problems you almost never have the luxury of knowing the
true solution. This problem is very ill-conditioned. To see this, add a small
perturbation to
A
E =
0.0010 0.0010
–0.0020 –0.0010
and solve the perturbed system
xe = (A+E)\b
xe =
–5.0000
7.3085
Ax b=
AE+
()
xb=
Przeglądanie stron 249
1 2 ... 245 246 247 248 249 250 251 252 253 254 255 ... 590 591

Komentarze do niniejszej Instrukcji

Brak uwag