MATLAB POLYSPACE RELEASE NOTES Manual de usuario Pagina 24

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 240
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 23
2 Matrices and Arra ys
Matrices a nd Magic Squares
In this section.. .
“About Matrices” on page 2-2
“Entering Matrices” on page 2-4
“sum, transpose, and diag” on page 2-5
“Subscripts” on page 2-7
“The Colon Operator” on page 2-8
“The magic Function” on page 2-9
About Matrices
In MATLAB, a matrix is a rectangular array of numbers. Special meaning
is sometimes attached to 1-by-1 matrices, which are scalars, and to m atrices
with only one row or column, which are vectors. M ATLAB has other ways of
storing both numeric and nonnumeric data, but in the beginning, it is u sually
best to think of everything as a matrix. The operations in M ATLAB are
designed to be as natural as possible. Where other programming languages
work with numbers one at a time, MATLAB allows you to work with entire
matrices quickly and easily. A good example matrix, used throughout this
book, appears in the Renaissance engraving Melencolia I by the German
artist and amateur mathematician Albrecht Dürer.
2-2
Vista de pagina 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 239 240

Comentarios a estos manuales

Sin comentarios