how to using atan2
8 次查看(过去 30 天)
显示 更早的评论

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
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
2020-6-16
Also calling a function uses () brackets not [] brackets
atan2(y, x)
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!