why do i get the following error when using azimuth?

When I enter the azimuth command as in the following example, I get the following error.
azimuth(-65.226,125.5,-65.236,125.433)
Error using distance
Too many input arguments.
Error in azimuth (line 65)
[~, az] = distance(varargin{:});||
Somebody please help me to solve this. Thank you

1 commentaire

KalMandy - is azimuth the function from the Mapping Toolbox or one that you have created? You seem to be passing the correct number of parameters to this function. In the command window type
which azimuth -all
What does this return?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Question posée :

le 6 Juil 2016

Commenté :

le 7 Juil 2016

Community Treasure Hunt

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

Start Hunting!

Translated by