フィルターのクリア

Positive angles in a graph

4 ビュー (過去 30 日間)
Andrea Cesaro
Andrea Cesaro 2021 年 4 月 3 日
コメント済み: Andrea Cesaro 2021 年 4 月 3 日
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?

採用された回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2021 年 4 月 3 日
%Force all angles must be positive.
mask=theta<0;
mask=360*double(mask);
theta=theta+mask;
  1 件のコメント
Andrea Cesaro
Andrea Cesaro 2021 年 4 月 3 日
Thank you

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraph and Network Algorithms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by