Two separate geobubbles/geomaps in a for loop?

3 views (last 30 days)
I am building a kalman filter to track airplanes in three dimensions. At the end of my code I have to compare my two different (real and filtered) values by using geobubble.
Is there a way (like hold on) to keep both results at the same figure.
The simplified code is in below:
for k=1:Nsteps
geobubble(x_u_series(1,1:k),x_u_series(3,1:k),x_u_series(3,1:k)
geobubble(z_series(1,1:k),z_series(2,1:k),z_series(3,1:k))
end
Thank you!

Answers (1)

Cris LaPierre
Cris LaPierre on 5 Jan 2021
A thought
for k=1:Nsteps
lat = [x_u_series(1,1:k) z_series(1,1:k)];
lon = [x_u_series(3,1:k) z_series(2,1:k)];
sz = [x_u_series(3,1:k) z_series(3,1:k)];
geobubble(lat,lon,sz)
end

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!