MATLAB POLYSPACE 7 Instalační příručka Strana 431

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 618
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 430
1 2 ... 426 427 428 429 430 431 432 433 434 435 436 ... 617 618

Komentáře k této Příručce

Žádné komentáře