How to convert this formula to matlab language

2 次查看(过去 30 天)
Hi guys,
I would like to convert this formula to matlab language.
α = arctan(y − 1/3, x − 1/3) modulus 2π
I tried a=atan2(y-1/3,x-1/3)*mod(2pi) but mod function needs more variables
Thank you

采纳的回答

Walter Roberson
Walter Roberson 2019-10-14
a = mod(atan2(y-1/3,x-1/3), 2*pi)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by