MATLAB POLYSPACE RELEASE NOTES Instrukcja Użytkownika Strona 26

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 240
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 25
2 Matrices and Arra ys
Entering Matrices
The best way for you to get started with MATLAB is to learn how to handle
matrices. Start MATLAB and follow a lo ng with each example.
You can enter matrices into MATLAB in several different ways:
Enter an explicit list of elements.
Load matrices from exte rnal data files.
Generate matrices using built-in functions.
Create matrices with your own functions in M-files.
Start by entering Dürer’s matrix as a list of its elements. You only have to
follow a few basic conve ntions:
Separate the elements of a row with blanks or commas.
Use a semicolon,
; ,toindicatetheendofeachrow.
Surround t he entire list of elements with square brackets,
[].
To enter Dürer’s matrix, simply type in the Command Window
A=[163213;510118;96712;415141]
2-4
Przeglądanie stron 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 239 240

Komentarze do niniejszej Instrukcji

Brak uwag