summaryrefslogtreecommitdiffstats
path: root/lectures/lec04_matlab3
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/lec04_matlab3
parent222292b3aa9d967557c3165cce5cc7f5773c20ab (diff)
downloaddmmsb2014-822bd0b04d1cce54c2fff57c4b206c51d1dcb940.tar.gz
dmmsb2014-822bd0b04d1cce54c2fff57c4b206c51d1dcb940.zip
rename notes -> lectures
Diffstat (limited to 'lectures/lec04_matlab3')
-rw-r--r--lectures/lec04_matlab326
1 files changed, 26 insertions, 0 deletions
diff --git a/lectures/lec04_matlab3 b/lectures/lec04_matlab3
new file mode 100644
index 0000000..5388d38
--- /dev/null
+++ b/lectures/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.