How can I plot Earth (wgs84 Ellipsoid)?
Ältere Kommentare anzeigen
I have tried
[x,y,z] = wgs84Ellipsoid('meters');
figure
surf(x,y,z)
axis equal
However,
[x,y,z] = wgs84Ellipsoid('meters');
is incorrect ("Too many output arguments")
2 Kommentare
Geoff Hayes
am 27 Nov. 2017
Matthes - according to https://www.mathworks.com/help/map/ref/wgs84ellipsoid.html the function wgs84ellipsoid returns a referenceEllipsoid object and so the error message makes sense since only one output parameter is possible
E = wgs84ellipsoid('meters');
So that explains the error message. As for trying to draw/plot this, I'm not sure how you would do that (or if it is even possible).
Matthes Müller
am 30 Nov. 2017
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Earth and Planetary Science finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!