summaryrefslogtreecommitdiffstats
path: root/lectures/lec02_matlab1
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2014-04-22 22:01:56 -0400
committerbnewbold <bnewbold@robocracy.org>2014-04-22 22:01:56 -0400
commit822bd0b04d1cce54c2fff57c4b206c51d1dcb940 (patch)
treee3cd895f9b54b7d44ff249dea3c50dda927304cc /lectures/lec02_matlab1
parent222292b3aa9d967557c3165cce5cc7f5773c20ab (diff)
downloaddmmsb2014-822bd0b04d1cce54c2fff57c4b206c51d1dcb940.tar.gz
dmmsb2014-822bd0b04d1cce54c2fff57c4b206c51d1dcb940.zip
rename notes -> lectures
Diffstat (limited to 'lectures/lec02_matlab1')
-rw-r--r--lectures/lec02_matlab124
1 files changed, 24 insertions, 0 deletions
diff --git a/lectures/lec02_matlab1 b/lectures/lec02_matlab1
new file mode 100644
index 0000000..53a8ac3
--- /dev/null
+++ b/lectures/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)
+