MATLAB Answers

wraptopi without mapping toolbox

6 ビュー (過去 30 日間)
Anjali Sharma
Anjali Sharma 2020 年 10 月 20 日
回答済み: Ameer Hamza 2020 年 10 月 20 日
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?


Ameer Hamza
Ameer Hamza 2020 年 10 月 20 日
Something like this
x = 3.3*pi;
wraped_x = mod(x+pi, 2*pi)-pi;

その他の回答 (0 件)


Community Treasure Hunt

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

Start Hunting!

Translated by