MATLAB POLYSPACE RELEASE NOTES Manuel d'utilisateur Page 28

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 240
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 239 240

Commentaires sur ces manuels

Pas de commentaire