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 Comment

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

Sign in to comment.

Answers (1)

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

2 Comments

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

Sign in to comment.

Tags

Asked:

on 7 Nov 2013

Commented:

on 7 Nov 2013

Community Treasure Hunt

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

Start Hunting!