微分方程式のパラメーター推定
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
すでに、質問がありますがもう少し教えて欲しいです。
下記、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)ではダメなのでしょうか?
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu 最小二乗法 finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!