Two separate geobubbles/geomaps in a for loop?

3 visualizzazioni (ultimi 30 giorni)
Sedat Izcan
Sedat Izcan il 5 Gen 2021
Risposto: Cris LaPierre il 5 Gen 2021
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!

Risposte (1)

Cris LaPierre
Cris LaPierre il 5 Gen 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

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by