MATLAB POLYSPACE RELEASE NOTES Instrukcja Użytkownika Strona 168

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 240
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 167
4 Programming
The graph
shows that the function has a local minimum near x =0.6. The
function
fminsearch finds the minimizer,thevalueofx where the function
takes on t
his minimum. The first argument to
fminsearch is a function
handle to
the function being minimized and the second argument is a rough
guess at
the location of the minimum:
p = fminsearch(@humps ,.5)
p=
0.6370
To evaluate the function at the minimizer,
humps(p)
ans =
11.2528
Numerical analysts use the terms quadrature and integration to disti nguish
between num erical approx imatio n of definite integrals and numerical
integration of ordinary differential equations. MATLAB quadrature routines
are
quad and quadl.Thestatement
4-30
Przeglądanie stron 167
1 2 ... 163 164 165 166 167 168 169 170 171 172 173 ... 239 240

Komentarze do niniejszej Instrukcji

Brak uwag