Two separate geobubbles/geomaps in a for loop?

3 ビュー (過去 30 日間)
Sedat Izcan
Sedat Izcan 2021 年 1 月 5 日
回答済み: Cris LaPierre 2021 年 1 月 5 日
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!

回答 (1 件)

Cris LaPierre
Cris LaPierre 2021 年 1 月 5 日
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

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by