wraptopi without mapping toolbox
22 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Anjali Sharma
am 20 Okt. 2020
Bearbeitet: LongYao Li
am 10 Okt. 2021
I dont have mapping toolbox with my license and I need to carry out wrap to pi for my data. Is there any way to do the same without the mapping toolbox?
0 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 20 Okt. 2020
Something like this
x = 3.3*pi;
wraped_x = mod(x+pi, 2*pi)-pi;
1 Kommentar
LongYao Li
am 10 Okt. 2021
Bearbeitet: LongYao Li
am 10 Okt. 2021
like this?
x=3.3*pi;
wraped_x = x-floor((x+pi)/(2*pi))*2*pi;
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!