Matice, základné operácie s maticami
Príklad 5
Vypočítajte súčet matíc A a B, ak \mathbf{A}=\left( \begin{array}{rrr} 2 & 0 & 3 \\ -1 & 1 & 4 \end{array} \right), \mathbf{B}=\left( \begin{array}{rrr} 1 & 1 & 0 \\ 1 & -2 & -3 \end{array} \right)
Riešenie:
Najprv skontrolujeme, či sú matice rovnakého typu a následne matice sčítame:
\mathbf{C}=\mathbf{A}+\mathbf{B}=\mathbf{A}=\left( \begin{array}{rrr} 2 & 0 & 3 \\ -1 & 1 & 4 \end{array} \right)+\left( \begin{array}{rrr} 1 & 1 & 0 \\ 1 & -2 & -3 \end{array} \right)=\left( \begin{array}{rrr} 3 & 1 & 3 \\ 0 & -1 & 1 \end{array} \right)
Žiadne komentáre:
Zverejnenie komentára