Matrix < Maple < Mathe-Software < Mathe < Vorhilfe
|
Status: |
(Frage) beantwortet | Datum: | 01:55 Sa 25.03.2006 | Autor: | EasyLee |
Hallo!
Kann man eine solche Matrix in Maple darstellen?
[mm] a_{11} [/mm] 0 0 ... 0
0 [mm] a_{22} [/mm] 0 ... 0
. . . .
. . . .
. . . .
0 0 0 [mm] ...a_{nm}
[/mm]
Danke!
EasyLee
|
|
|
|
Hallo EasyLee,
das geht laut Maples Hilfe so:
1: |
| 2: | > V:=Vector([a11,a22,a33,a44]);
| 3: |
| 4: | [a11]
| 5: | [ ]
| 6: | [a22]
| 7: | V := [ ]
| 8: | [a33]
| 9: | [ ]
| 10: | [a44]
| 11: |
| 12: | > M:=Matrix(1..4,1..4,V,shape=diagonal);
| 13: |
| 14: | [a11 0 0 0 ]
| 15: | [ ]
| 16: | [ 0 a22 0 0 ]
| 17: | M := [ ]
| 18: | [ 0 0 a33 0 ]
| 19: | [ ]
| 20: | [ 0 0 0 a44]
| 21: |
| 22: | >
|
Gruß,
Peter
|
|
|
|