关于MATLAB
MATLAB使用语法
数组:
x=1:2:5 (从1开始到5 间隔2生成一个数字)
x=1:3 x=x’ 将数组转置 (linspace
和 :
运算符都可创建行向量。但是,您可以使用转置运算符 ('
) 将行向量转换为列向量。)
函数:
x=rand(5,2) 指创建一个5行2列的随机数矩阵
x=zeros(6,3) 指创建一个6行3列的全0矩阵
一些关于生活与学习的琐事
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.