Can anyone tell e why I am getting NaN as the answer of this code. (the code is attached with this question for your kind reference.)

1 回表示 (過去 30 日間)
the code is running but only showing NaN as output. Please help me. The values I was using are IEM(1,1,1,1,5,10,0.01,1,0).

採用された回答

Torsten
Torsten 2018 年 10 月 5 日
編集済み: Torsten 2018 年 10 月 5 日
For t=1, K11=0. This causes abs(Y2(t)+H*K11) to become zero. This turns (Y2(t)+H*K11/abs (Y2(t)+H*K11) into a NaN .
Best wishes
Torsten.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by