summaryrefslogtreecommitdiffhomepage
path: root/matlab.html.markdown
diff options
context:
space:
mode:
authorHarshad Sabne <harshadsabne@users.noreply.github.com>2013-09-06 20:54:32 +0530
committerHarshad Sabne <harshadsabne@users.noreply.github.com>2013-09-06 20:54:32 +0530
commit53e121b37df986f418168ec6a3b6287857d8464e (patch)
treec4fc450fc0c926cc0d1c64521ef2a53fa47c68b2 /matlab.html.markdown
parent9190044dee9fd71520fb67bc5fb3dd5a871ba3a8 (diff)
Update matlab.html.markdown
Added subsection "Common vector functions"
Diffstat (limited to 'matlab.html.markdown')
-rw-r--r--matlab.html.markdown11
1 files changed, 11 insertions, 0 deletions
diff --git a/matlab.html.markdown b/matlab.html.markdown
index 290e620c..3bcc4bbc 100644
--- a/matlab.html.markdown
+++ b/matlab.html.markdown
@@ -256,6 +256,17 @@ 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
+
```