Filter löschen
Filter löschen

why do i get the following error when using azimuth?

2 Ansichten (letzte 30 Tage)
KalMandy
KalMandy am 6 Jul. 2016
Kommentiert: Geoff Hayes am 7 Jul. 2016
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 Kommentar
Geoff Hayes
Geoff Hayes am 7 Jul. 2016
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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Mathematics and Optimization finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by