outdated Matlab command. Need new equivalent

Hi,
I am running a subroutine (written many years ago on an older version of matlab) that is trying to plot a contour map..... I think. It is using the following code:
figure(2); ht1=elevation(a,b,c,d,e);
However since I am using a newer version of matlab it does not seem to recognize the "elevation" plot command anymore. What is the new equivalent for this outdated command?
Thanks, Sean

1 个评论

How do you know it was a built-in function and not a custom written function?

请先登录,再进行评论。

回答(1 个)

elevation is still in the the Mapping toolbox. However, "Note: elevation will be removed in a future release. Use geodetic2aer instead."

2 个评论

elevation doesn't seem to be a plotting routine though...
Plus the Mapping Toolbox version requires at least 6 inputs.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Mapping Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by