how to finde state estimation error?

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 个)

类别

帮助中心File Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by