Two separate geobubbles/geomaps in a for loop?

3 visualizaciones (últimos 30 días)
Sedat Izcan
Sedat Izcan el 5 de En. de 2021
Respondida: Cris LaPierre el 5 de En. de 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!

Respuestas (1)

Cris LaPierre
Cris LaPierre el 5 de En. de 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

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by