- 5
- 0
- 约1.78千字
- 约 3页
- 2018-12-11 发布于境外
- 举报
请写出在MATLAB命令窗口中输入sin(pi/2)i的结果
Error: Unexpected MATLAB expression. 。
2、写出logspace(0,3,4)的结果 1 10 100 1000
3、查询x数组的第4、2、5个元素的命令是 x([4 2 5])
4、写出sqrt([1 4;4 9])的输出结果
ans =
1 2
2 3
5、写出sqrtm([4 4;4 4;9 9])的结果
??? Error using == schur
Matrix must be square.
6、写出rot90([1 2;3 4],-3)的结果
ans =
2 4
1 3
7、写出flipud([1 2;3 4])的结果
ans =
3 4
1 2
8、写出zeros(2)的输出结果
ans =
0 0
0 0
9、写出sparse([1 0;2 1])的输出结果
ans =
(1,1) 1
(2,1) 2
(2,2)
原创力文档

文档评论(0)