Positive angles in a graph
1 次查看(过去 30 天)
显示 更早的评论
How can I have all positive angles in a graph, that I mean I have a graph plot(x,alfa) for example and all angles are positive, but one,180° is not positive, but negative in the graph, -180° and this messes up the graph, how can I do?
0 个评论
采纳的回答
KALYAN ACHARJYA
2021-4-3
%Force all angles must be positive.
mask=theta<0;
mask=360*double(mask);
theta=theta+mask;
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graph and Network Algorithms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!