Matlab如何定义一个矩阵。

5 次查看(过去 30 天)
vugpkax
vugpkax 2023-5-20
回答: sndprtg 2023-5-20
我想先定义一个n列方阵,而后根据输入的不同方阵,来显示程序里的计算结果

采纳的回答

sndprtg
sndprtg 2023-5-20
预定义一个方阵:
n=5; %modifiable
A=zeros(n,n);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 快速入门 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!