当前位置:网站首页>捡起MATLAB的第(3)天
捡起MATLAB的第(3)天
2022-04-23 15:54:00 【Sola_Ex】
Matlab
获取矩阵尺寸
使用的命令:
size(x);
返回 a行 b列矩阵
特殊矩阵
once() %全1矩阵
once() %n*n的全1矩阵
once(m,n) %m*n的全1矩阵
zeros() %全0矩阵
zeros(n) %n*n的全0矩阵
zeros(m,n) %m*n的全0矩阵
eye(n) %n*n的单位矩阵
矩阵翻转
fliplr(A) %左右翻转
flipud(A) %上下翻转
逆矩阵与伪逆矩阵
inv(A) %矩阵A的逆矩阵
pinv(A) %矩阵A的伪逆矩阵
矩阵的秩
rank(A) %获取矩阵A的秩
矩阵的迹
trace(A) %矩阵A的迹
矩阵的特征值与特征向量
eig(A) %特征值
[V,D] = eig(A) %特征向量
版权声明
本文为[Sola_Ex]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_42312125/article/details/107454642
边栏推荐
猜你喜欢
随机推荐
Load Balancer
删除字符串中出现次数最少的字符
一刷312-简单重复set-剑指 Offer 03. 数组中重复的数字(e)
Pgpool II 4.3 Chinese Manual - introductory tutorial
Go language, condition, loop, function
Website pressure measurement tools Apache AB, webbench, Apache jemeter
一文掌握vscode远程gdb调试
How important is the operation and maintenance process? I heard it can save 2 million a year?
Calculate the number of occurrences of a character
Coalesce and repartition of spark operators
leetcode-396 旋转函数
Cap theorem
How can poor areas without networks have money to build networks?
北京某信护网蓝队面试题目
Leetcode-374 guess the size of the number
实现缺省页面
Go language, array, pointer, structure
Merging of Shanzhai version [i]
Leetcode-396 rotation function
Application of Bloom filter in 100 million flow e-commerce system