필터 지우기
필터 지우기

Function to make a variable circular

조회 수: 1 (최근 30일)
Miguel Lopes
Miguel Lopes 2014년 10월 10일
답변: Miguel Lopes 2014년 10월 11일
For instance, if you have 3pi and use wrapTo2Pi(3pi) it gives pi.
What I want is exactly this but instead of 0 to 2pi I want from 1 to 12 (months of the year).
So if I I have 17 I want function(17)=5
Is there such a function??
Thank you!!!

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 10월 10일

추가 답변 (1개)

Miguel Lopes
Miguel Lopes 2014년 10월 11일
THANKS

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by