how to finde state estimation error?

4 vues (au cours des 30 derniers jours)
Ahmad Sheikh
Ahmad Sheikh le 24 Jan 2016
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.

Réponses (0)

Catégories

En savoir plus sur Numerical Integration and Differential Equations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by