summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2014-04-10 20:50:35 -0400
committerbnewbold <bnewbold@robocracy.org>2014-04-10 20:50:35 -0400
commitdca2a408e4e6045c253b2edf8d8c850bef4546a0 (patch)
treedf33df0b58e13e283fe27a91154ac9d5e163bb95
parent34fcd3968e7350800ab2b7016106ad6e00945c54 (diff)
downloaddmmsb2014-dca2a408e4e6045c253b2edf8d8c850bef4546a0.tar.gz
dmmsb2014-dca2a408e4e6045c253b2edf8d8c850bef4546a0.zip
commit last night's notes
-rw-r--r--notes/lec04_matlab326
1 files changed, 26 insertions, 0 deletions
diff --git a/notes/lec04_matlab3 b/notes/lec04_matlab3
new file mode 100644
index 0000000..5388d38
--- /dev/null
+++ b/notes/lec04_matlab3
@@ -0,0 +1,26 @@
+
+
+mean()
+std()
+exp(x) -> e^x
+
+
+
+### julia notes
+
+ref: http://julia.readthedocs.org/en/latest/manual/noteworthy-differences/
+ref: http://sveme.org/julia-for-matlab-users-i.html
+
+use maximum() instead of max().
+doesn't return multiple values like matlab. use 'findmax' instead.
+
+anonymous function syntax:
+
+ find(x-> x > 2, [1,2,3,4,5])
+
+unpack using parens (tuples?), not brackets
+
+writedlm, readdlm instead of dlmwrite, dlmread
+read/write instead of save/load?
+
+some built-ins like {sum, prod, max} are deep, not shallow like in matlab.