diff options
author | bnewbold <bnewbold@robocracy.org> | 2011-09-21 00:42:50 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2011-09-21 00:42:50 -0400 |
commit | 226b1e9aabc4a557cd522f4488d9e03492e367f0 (patch) | |
tree | 9725f4b4fc9fe08d046f4e9e2938d8b96b3acda5 /software/matlab.page | |
parent | 36492bceeec70927e4f20f03ce981852a3813174 (diff) | |
download | knowledge-226b1e9aabc4a557cd522f4488d9e03492e367f0.tar.gz knowledge-226b1e9aabc4a557cd522f4488d9e03492e367f0.zip |
formatting fixes
Diffstat (limited to 'software/matlab.page')
-rw-r--r-- | software/matlab.page | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/software/matlab.page b/software/matlab.page index 16ef567..54daa3d 100644 --- a/software/matlab.page +++ b/software/matlab.page @@ -14,20 +14,26 @@ Matlab 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 -:: +Create a new matrix: + + A = [1,2,3,4] + +Select the first element of a matrix, **zero-indexed**: + + A(1) + +Create a one dimensional matrix: + + B = [ [1,2,3], [4,5,6], [7,8,9] ] + + +Create a two dimensional matrix: B = [ [1,2,3], - [4,5,6], - [7,8,9] ] + [4,5,6], + [7,8,9] ] - creates a two dimensional matrix Matrix Operations ------------------ |