how to finde state estimation error?

1 回表示 (過去 30 日間)
Ahmad Sheikh
Ahmad Sheikh 2016 年 1 月 24 日
I used ode command to find actual states of differential equation as this?
[t,x]= ode45(@exam3f,[Initial_Time Final_Time], [0.01 0.5 0.01 0.5 0.01 0.5 1] );
and the estimated states are
[t1,x3]= ode45(@exam6f,[Initial_Time Final_Time], [0.01 0.5 0.01 0.5 0.01 0.5 1] );
when i want to find error between actual and estimated states
error= x-x3;
it gives an error dimensions not same.

回答 (0 件)

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by