mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 01:51:38 +00:00
Update matlab.html.markdown
Multiple function additions to "Common matrix functions" subsection.
This commit is contained in:
parent
5a87423e20
commit
9190044dee
@ -250,7 +250,11 @@ eig(A) %Eigenvalues and eigenvectors of A
|
|||||||
isempty(A) % Tests if array is empty
|
isempty(A) % Tests if array is empty
|
||||||
isequal(A, B) %Tests equality of two arrays
|
isequal(A, B) %Tests equality of two arrays
|
||||||
numel(A) %Number of elements in matrix
|
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
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user