MATLAB POLYSPACE RELEASE NOTES Manual do Utilizador Página 28

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 240
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 239 240

Comentários a estes Manuais

Sem comentários