vector and matrix norms
>> norm(X, p) x for matrix, p for p-norm (default is 2)
determinate, inverse and pseudoinverses
>>det(D) D for matrix for determinate (行列式)
For a 2×2 matrix (2 rows and 2 columns):
![A Matrix](http://www.mathsisfun.com/algebra/images/matrix-2x2-det-a.gif)
The determinant is:
|A| = ad - bc
"The determinant of A equals a times d minus b times c"
"The determinant of A equals a times d minus b times c"
![](http://www.mathsisfun.com/algebra/images/matrix-inverse-2x2.gif)
>>pinv(E) E for matrix for pseudoinverse
Matrix powers and exponentials
>>F^2 F for matrix
>>F.^2 F for matrix
>>sqrt(F) F for matrix
Eigenvalue and eigenVectors
>>eig(g) G for matrix
We can rewrite the condition Av= (A− where I is the n equation, A− |
|
Data analysis
>>min(Data)
>>max(Data)
>>std(Data)
his is the formu
la for Standard Deviation:
![](https://blogger.googleusercontent.com/img/proxy/AVvXsEhtZMnd75WBL3Xjb3gwH4zl4TsyQPE7cef-UrTi2nCcODKfa8nsyzJueYuAgw0KM0hGsRC9ioqsUizrw8eS0s-AveFwKx9DP82zVBHRnIyqO-9Z-_VPHDl5HGG3Bttijt-r4fCeRon5dLfstslvmmTwu8RnxtJehzlT1EFLeIdtPpD1td4=)
>>cov(Data)
>>corrcoef(Data)
>>cov(Data)
>>corrcoef(Data)
没有评论:
发表评论