blob: 5388d380a1ffd4e17729592b31a418cd09b8557c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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.
|