필터 지우기
필터 지우기

Why does the output of a discrete transfer function goes NaN?

조회 수: 9 (최근 30일)
Dawn Ivan
Dawn Ivan 2018년 11월 20일
댓글: Rahul Shinde 2022년 7월 15일
My simulink model has a discrete transfer function block.The numerator and the denominator are given externally because their coefficients change as the simulation runs.What are the possible reasons for the output of the discrete transfer function to go NaN?What are the possible soultions to solve the same?
  댓글 수: 3
Walter Roberson
Walter Roberson 2022년 7월 14일
You have infinity or negative infinity in the input signal, and you do not happen to have the situation where all non-zero coefficients appear only in even powers.
For example negative infinity and coefficients [1 1 1] would be 1*(-inf)^2 + 1*(-inf) + 1 which would be (inf) + (-inf) + 1 and inf - inf is nan.
Rahul Shinde
Rahul Shinde 2022년 7월 15일
Many thanks for your response @Walter Roberson. After your hints I was able to focus & identify the issue in my model.
Good day.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Physics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by