M1 MABS BBS Math TD Calcul Matriciel
From silico.biotoul.fr
(Difference between revisions)
m (Created page with '= Création d'une matrice == <code lang="shell"> A = matrix( c(11, 12, 21, 22), ncol=2, byrow=TRUE ) </code> Cas particulier : matrice unité d'ordre n <math>I_n</math> <code l…') |
m |
||
Line 1: | Line 1: | ||
- | = Création d'une matrice | + | = Création d'une matrice = |
<code lang="shell"> | <code lang="shell"> | ||
Line 5: | Line 5: | ||
</code> | </code> | ||
- | Cas particulier : matrice unité d'ordre n <math>I_n</math> | + | Cas particulier : matrice unité d'ordre n (notée <math>I_n</math>), exemple avec n = 5 : |
+ | |||
<code lang="shell"> | <code lang="shell"> | ||
diag(5) | diag(5) | ||
</code> | </code> |
Revision as of 17:21, 26 September 2011
Création d'une matrice
A = matrix( c(11, 12, 21, 22), ncol=2, byrow=TRUE )
Cas particulier : matrice unité d'ordre n (notée In), exemple avec n = 5 :
diag(5)