MATLAB POLYSPACE RELEASE NOTES Instrukcja Użytkownika Strona 36

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 240
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 35
2 Matrices and Arra ys
realmax
Largest floatin g-point num ber,
Inf
Infinity
NaN
Not-a-number
Infinity is generated by d ividing a nonzero value by zero, or b y evaluating
well defined mathematical expressions that overflow, i.e., exceed
realmax.
Not-a-number is generated by trying to evaluate expressions like
0/0 or
Inf-Inf that do not have well defined mathematical values.
The f unction names are not reserved. It is possible to overwrite any of them
with a new variable, such as
eps = 1.e-6
and then use that value in subsequent calculations. The original function
can be restored with
clear eps
Examples of Expressions
You have alre ady seen se veral examples of MATLAB expressions. H ere are a
few more examples, and the resulting values:
rho = (1+sqrt(5))/2
rho =
1.6180
a = abs(3+4i)
a=
5
z = sqrt(besselk(4/3,r ho-i))
z=
0.3730+ 0.3214i
huge = exp(log(realmax))
huge =
1.7977e+308
2-14
Przeglądanie stron 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 239 240

Komentarze do niniejszej Instrukcji

Brak uwag