summaryrefslogtreecommitdiffstats
path: root/notes/lec02_matlab1
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2014-04-09 22:17:26 -0400
committerbnewbold <bnewbold@robocracy.org>2014-04-09 22:17:26 -0400
commit14cf4824f32727704c265bf9de1d209a5019f8f0 (patch)
treeaedd1c0774d40d3289024a1c9ea0888e9788da99 /notes/lec02_matlab1
downloaddmmsb2014-14cf4824f32727704c265bf9de1d209a5019f8f0.tar.gz
dmmsb2014-14cf4824f32727704c265bf9de1d209a5019f8f0.zip
commit notes
Diffstat (limited to 'notes/lec02_matlab1')
-rw-r--r--notes/lec02_matlab124
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)
+