MATLAB POLYSPACE RELEASE NOTES Manuale Utente Pagina 28

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 240
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 27
2 Matrices and Arra ys
diagona l, and also changes the sign of the imaginary component of any
complex e lements of the matrix. The dot-apostrophe operator (e.g.,
A.'),
transposes without affecting the sign of complex elements. For matrices
containing all real elements, the two operators return the same result.
So
A'
produces
ans =
16594
310 615
211 714
13 8 12 1
and
sum(A')'
produces a column vector containing the row sums
ans =
34
34
34
34
The sum of the elements on the main diagonal is obtained w ith the sum and
the
diag functions:
diag(A)
produces
ans =
16
10
7
1
2-6
Vedere la pagina 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 239 240

Commenti su questo manuale

Nessun commento