Matlab如何定义一个矩阵。

我想先定义一个n列方阵,而后根据输入的不同方阵,来显示程序里的计算结果

 采纳的回答

sndprtg
sndprtg 2023-5-20

0 个投票

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

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB 快速入门 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!