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 Center および File ExchangeMATLAB 快速入门 についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!