diff options
author | kaernyk <kaernyk@gmail.com> | 2014-09-09 21:05:13 -0400 |
---|---|---|
committer | kaernyk <kaernyk@gmail.com> | 2014-09-09 21:05:13 -0400 |
commit | a4e381d756dd8bc8e992ef0da41b4e0b50e0e59e (patch) | |
tree | 9d5695f75c332c6f39bc0761a478ef94181feb5c /matlab.html.markdown | |
parent | 0833c79b34c36cf4121055f0bf929a5526d0d5ea (diff) | |
parent | 38c4138a7b62c0507c7de6917ddac0b800cc7150 (diff) |
Merge remote-tracking branch 'upstream/master'
pull latest
Diffstat (limited to 'matlab.html.markdown')
-rw-r--r-- | matlab.html.markdown | 2 |
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 |