summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2013-09-08 21:42:16 -0700
committerAdam Bard <github@adambard.com>2013-09-08 21:42:16 -0700
commitac31bec4fd44bef813a07b035e177b2d36c8941a (patch)
treea29b3a23d4c4cf6cf3e28305473fc44d153ccdde
parent35521ce67e029f8688fae388cdbf6ef72a876d50 (diff)
parent53e121b37df986f418168ec6a3b6287857d8464e (diff)
Merge pull request #325 from harshadsabne/master
[Matlab/en]
-rw-r--r--matlab.html.markdown17
1 files changed, 16 insertions, 1 deletions
diff --git a/matlab.html.markdown b/matlab.html.markdown
index 507e9c85..3bcc4bbc 100644
--- a/matlab.html.markdown
+++ b/matlab.html.markdown
@@ -250,7 +250,22 @@ eig(A) %Eigenvalues and eigenvectors of A
isempty(A) % Tests if array is empty
isequal(A, B) %Tests equality of two arrays
numel(A) %Number of elements in matrix
-
+triu(x) % Returns the upper triangular part of x
+tril(x) % Returns the lower triangular part of x
+cross(A,B) % Returns the cross product of the vectors A and B
+dot(A,B) % Returns the scalar product of the vectors A and B. A and B must be vectors of the same length.
+transpose(A) % Returns the transpose of A
+
+% Common vector functions
+max %largest component
+min %smallest component
+length %length of a vector
+sort %sort in ascending order
+sum %sum of elements
+prod %product of elements
+median %median value
+mean %mean value
+std %standard deviation
```