Matlab如何定义一个矩阵。

5 Ansichten (letzte 30 Tage)
vugpkax
vugpkax am 20 Mai 2023
Beantwortet: sndprtg am 20 Mai 2023
我想先定义一个n列方阵,而后根据输入的不同方阵,来显示程序里的计算结果

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB 快速入门 finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!