diff options
author | bryan newbold <bnewbold@snark.mit.edu> | 2008-07-29 03:36:07 -0400 |
---|---|---|
committer | bryan newbold <bnewbold@snark.mit.edu> | 2008-07-29 03:36:07 -0400 |
commit | 8c4e441050c3f4cce678bed4d3f112ba26800cb3 (patch) | |
tree | c626993d7083a28f42c67b8ecdabb11d9438e279 /software/matlab | |
parent | ee2b54548a21ff05fe520b4b774a9b7ab7e13b39 (diff) | |
download | knowledge-8c4e441050c3f4cce678bed4d3f112ba26800cb3.tar.gz knowledge-8c4e441050c3f4cce678bed4d3f112ba26800cb3.zip |
made software dir, added pynfs
Diffstat (limited to 'software/matlab')
-rw-r--r-- | software/matlab | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/software/matlab b/software/matlab new file mode 100644 index 0000000..20e7110 --- /dev/null +++ b/software/matlab @@ -0,0 +1,39 @@ +================== +Matlab +================== + +.. warning:: + Stub, just getting started + +`cyclismo.org <http://www.cyclismo.org/tutorial/matlab/matrix.html>`_ has a good tutorial. + +Matrix Syntax +------------------ +A = [1,2,3,4] + creates a new matrix +A(1) + selects the first element of a matrix, **zero-indexed** +B = [ [1,2,3], [4,5,6], [7,8,9] ] + creates a one dimensional matrix + +:: + + B = [ [1,2,3], + [4,5,6], + [7,8,9] ] + + creates a two dimensional matrix + +Matrix Operations +------------------ +``inv`` + inverts a square matrix + +Meta-Commands +------------------ +Placing a semicolon at the end of a line prevents the output from being printed to screen. + +``whos`` + Displays variables and their size +``format long``/``format short`` + Selects either 4 or 14 decimal place display |