Clear Filters
Clear Filters

how to finde state estimation error?

2 views (last 30 days)
Ahmad Sheikh
Ahmad Sheikh on 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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!