I have latitude, longitude and Height data in form matrix, then I would plot these values in 3D plot just like how surface looks.
8 ビュー (過去 30 日間)
古いコメントを表示
I just want to plot like 3D surface how generally we see with lat, lon and height data. Can I plot this directly with any commands or should I do anything else in data before we apply commands
0 件のコメント
回答 (1 件)
Yavor Kamer
2018 年 10 月 13 日
lat and lon are in degrees and height is in meter/kilometers etc. If you want to plot them in the same plot (with plot3 for example) you need to convert lat and lon to the same units as your height.
If you have mapping toolbox you can use mfwdtran with a suitable projection for your region of interest.
3 件のコメント
Yavor Kamer
2018 年 10 月 15 日
You can use the function scatter3 like this:
scatter3(x,y,z,10,z)
10 is the symbol size and the last z tells it to use altitude for coloring
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!