MATLAB POLYSPACE 7 Guida di Installazione Pagina 431

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 430
Debugging Process a nd Features
6 Test the function for a slightly larger value of m,suchas6,tobesurethe
results a re s till accurate. To make it easier to verify
collatzplot fo r m =6
as well as the results for
collatz, add this line at the end of collatz.m
sequen
ce
which displays the series in the Command Window. The results for when
n=6are
sequen
ce =
6310516
8421
Then run collatzplot for m =6bytyping
6-123
Vedere la pagina 430
1 2 ... 426 427 428 429 430 431 432 433 434 435 436 ... 617 618

Commenti su questo manuale

Nessun commento