Borrar filtros
Borrar filtros

微分方程式のパラメーター推定

1 visualización (últimos 30 días)
Cir 2t
Cir 2t el 25 de En. de 2021
すでに、質問がありますがもう少し教えて欲しいです。
下記、https://jp.mathworks.com/matlabcentral/answers/95080-#answer_104432
function dydt = samp_ode(t,y)
% x'' = -a*x'-b*x + u(t)
% a, bを実験データから推定
% 時間tにおける入力の実験データをINTERP1で補間
u = interp1(Time,InData,t);
% 微分方程式 
dydt = [y(2); -param(1)*y(2)-param(2)*y(1)+u];
微分方程式のところは、自分で設定するとは思うのですが、y(2)やy(1)が示している意味がわかりません。
yのデータの2番目と1番目という意味でしょうが、この場合の具体的な言意味合いがピンときません。全てy(1)ではダメなのでしょうか?

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!