How to convert this formula to matlab language

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

 채택된 답변

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2019년 10월 14일

답변:

2019년 10월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by