Matlab如何定义一个矩阵。

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

 Respuesta aceptada

sndprtg
sndprtg el 20 de Mayo de 2023

0 votos

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

Más respuestas (0)

Categorías

Más información sobre MATLAB 快速入门 en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 20 de Mayo de 2023

Respondida:

el 20 de Mayo de 2023

Community Treasure Hunt

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

Start Hunting!