David's Octave Assignment: Difference between revisions
Jump to navigation
Jump to search
David.morgan (talk | contribs) (Blanked the page) |
David.bryson (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
You can abort any command in octave by pressing Ctrl C. |
|||
and you can create a diagonal matrix by entering diag([1 2 3]) |
|||
it looks like this. |
|||
diag([1 2 3]) |
|||
ans = |
|||
1 0 0 0 2 0 0 0 3 |
Revision as of 08:59, 4 October 2010
You can abort any command in octave by pressing Ctrl C.
and you can create a diagonal matrix by entering diag([1 2 3]) it looks like this.
diag([1 2 3])
ans =
1 0 0 0 2 0 0 0 3