入力信号に0と1と無限大(inf)の3つの状態を持たせ条件判定に使いたいが。。。
Show older comments
0の場合1の場合未入力(inf)の3つの条件で遷移先を決定させたいのですが、やり方が分からず行き詰まっております。
そもそも、無限大を条件に使う事は出来ないのでしょうか?
また、可能であれば解決策をご教示頂きたいです。
Accepted Answer
More Answers (1)
Megumi Fukuda
on 24 Feb 2021
こんにちは。
無限大(inf)かどうかを判定したい場合、
isinf
があります。こちらを使うのはいかがでしょうか?
Categories
Find more on モデル コンポーネントのスケジュール in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!