diff options
Diffstat (limited to 'notes/lec02_matlab1')
-rw-r--r-- | notes/lec02_matlab1 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/notes/lec02_matlab1 b/notes/lec02_matlab1 new file mode 100644 index 0000000..53a8ac3 --- /dev/null +++ b/notes/lec02_matlab1 @@ -0,0 +1,24 @@ + +'format compact' => less syntax + +self assess: + C) 13x4 + E) vertcat; different columns + +### julia notes: + +built-in types seem to default to just an array instead of, eg, 3x1 or 1x3. + +can transform with "'"; A'' != A? + +to vert/horiz cat, need to explicitly + +julia> size([1,2,3]) +(3,) + +julia> size([1,2,3]') +(1,3) + +julia> size([1,2,3]'') +(3,1) + |