matlabコードでの積分のやり方

12 visualizaciones (últimos 30 días)
qrqr
qrqr el 18 de Nov. de 2019
Comentada: qrqr el 20 de Nov. de 2019
simulinkモデルのintegratorブロックはmファイルの場合はどんなコードでしょうか?
積分にもいろいろ種類があるようですが、以下simukinkで回した結果です。
A=[1,2,3,4];
%これを積分して
simout 0 1.5 4 7.5
mファイル上でこのように同じ結果で出力をしたいです。
宜しくお願い致します。

Respuesta aceptada

Kazuya
Kazuya el 19 de Nov. de 2019
Editada: Kazuya el 19 de Nov. de 2019
A=[1,2,3,4];
Q = cumtrapz(A)
  1 comentario
qrqr
qrqr el 20 de Nov. de 2019
ありがとうございます!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink Function en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!