summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLevi Bostian <levi.bostian@gmail.com>2014-09-03 20:42:29 -0500
committerLevi Bostian <levi.bostian@gmail.com>2014-09-03 20:42:29 -0500
commit8df513c39b6503302addefccb0e21032bf39c577 (patch)
treeccb5172ca2313f06ed60a23bcf863df608895d1e
parentd2e900314370c8878ff7e364558d80db763ec179 (diff)
parent7d52148acf1ca5228e7882769345bc4da36c787f (diff)
Merge pull request #744 from ben-eysenbach/patch-1
[matlab/en] Matlab syntax error
-rw-r--r--matlab.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/matlab.html.markdown b/matlab.html.markdown
index d9a82890..9dae8ef2 100644
--- a/matlab.html.markdown
+++ b/matlab.html.markdown
@@ -85,7 +85,7 @@ load myFile.mat y % no parentheses, and spaces instead of commas
% Logicals can be applied to matrices:
A > 5
% for each element, if condition is true, that element is 1 in returned matrix
-A[ A > 5 ]
+A( A > 5 )
% returns a vector containing the elements in A for which condition is true
% Strings