Check Positive or Negative Infinity
古いコメントを表示
isinf function gives logical true in both cases whether infinity is postivie or negative but does not tell whether infinity is positive or negative. How can I check whether the infinity is positive or negative?
abc=-1*inf;
isinf(abc)
採用された回答
その他の回答 (1 件)
KALYAN ACHARJYA
2019 年 6 月 24 日
y=abc>=0 && isinf(abc)
カテゴリ
ヘルプ センター および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!