summaryrefslogtreecommitdiffhomepage
path: root/matlab.html.markdown
diff options
context:
space:
mode:
authorHarshad Sabne <harshadsabne@users.noreply.github.com>2013-09-06 19:58:05 +0530
committerHarshad Sabne <harshadsabne@users.noreply.github.com>2013-09-06 19:58:05 +0530
commit9190044dee9fd71520fb67bc5fb3dd5a871ba3a8 (patch)
tree907dc2f830914eaa85ced38f2b01bae8574be7b7 /matlab.html.markdown
parent5a87423e209ee77b53e20f70ccc87c26511c4869 (diff)
Update matlab.html.markdown
Multiple function additions to "Common matrix functions" subsection.
Diffstat (limited to 'matlab.html.markdown')
-rw-r--r--matlab.html.markdown6
1 files changed, 5 insertions, 1 deletions
diff --git a/matlab.html.markdown b/matlab.html.markdown
index 507e9c85..290e620c 100644
--- a/matlab.html.markdown
+++ b/matlab.html.markdown
@@ -250,7 +250,11 @@ 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
```