how to using atan2

조회 수: 3 (최근 30일)
YOUNGMIN SHIN
YOUNGMIN SHIN 2020년 6월 16일
댓글: Walter Roberson 2020년 6월 16일
hello
i want to using 'atan2' function.
but it's hard to found out error for program.
if theta2 and theta 4 is fondated, i want to find according theta3
please help how can use atan2 thanks.
  댓글 수: 2
Les Beckham
Les Beckham 2020년 6월 16일
If you want to use 'atan2', you should call 'atan2' instead of 'atna2'.
Also, the first error message is pretty clear. You have not defined 'l1'.
In the future I recommend copying and pasting text into your questions instead of using screenshots (images). This makes it easier for those that are trying to help you to copy to copy and run your code and to see the entire contents of error messages.
Walter Roberson
Walter Roberson 2020년 6월 16일
Also calling a function uses () brackets not [] brackets
atan2(y, x)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by