why do i get the following error when using azimuth?

2 次查看(过去 30 天)
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 个评论
Geoff Hayes
Geoff Hayes 2016-7-7
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?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Mathematics and Optimization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by