第五题--生成各种矩阵的方式
- Clear["Global`*"];
- e = IdentityMatrix[3];(*生成单位矩阵*)
- r = RandomReal[3, {3, 2}];
- o = Table[0, {2}, {3}];
- s = DiagonalMatrix[{k1, k2}];(*生成对角矩阵*)
- a = ArrayFlatten[{{e, r}, {o, s}}];
- aa = a.a;
- aaa = ArrayFlatten[{{e, r + r.s}, {o, s.s}}];
- Column[MatrixForm[#] & /@ {e, r, o, s, a, aa, aaa, aa - aaa},
- Spacings -> 1.5]
- 微信公众号
- 关注微信公众号
-
- QQ群
- 我们的QQ群号
-


![Mathematica入门习题[33]--微分方程组通解](https://mathpretty.com/wp-content/themes/begin/img/random/5.jpg)
![Mathematica入门习题[32]--积分](https://img.mathpretty.com/20210911_162102_myzgomp.jpg)
![Mathematica入门习题[31]--极限与导数](https://img.mathpretty.com/20210911_162041_2wlslen.jpg)
![Mathematica入门习题[30]--解方程](https://img.mathpretty.com/20210911_161401_9q0dovo.jpg)
![Mathematica入门习题[29]--级数展开](https://img.mathpretty.com/20210911_162004_canayhp.jpg)
![Mathematica入门习题[28]--级数求和(Sum的使用)](https://img.mathpretty.com/20210911_162111_41geeb4.jpg)
![Mathematica入门习题[27]--Grid格子函数的使用](https://img.mathpretty.com/20210911_162031_ifrgvfm.jpg)
![Mathematica入门习题[26]--绘制参数方程](https://img.mathpretty.com/20210911_162025_0gwx5df.jpg)
![Mathematica入门习题[25]--符号微分与积分](https://img.mathpretty.com/20210911_162053_3lh8t7l.jpg)

评论