필터 지우기
필터 지우기

Does anyone know how to fix this?

조회 수: 2 (최근 30일)
Tony Castillo
Tony Castillo 2021년 6월 8일
편집: Tony Castillo 2021년 6월 18일
Dear coders,
I have this issue marked on the figure, it seems as if I was introducing a differnt value but it is not,
The vector which I introduce to the model is the following domestic=[1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
It happens after simulating the model in Simulink.
I hope you can head me through the solution of this matter.

답변 (1개)

Yoshi Minagawa
Yoshi Minagawa 2021년 6월 15일
Hi Tony,
It seems that different data from expectedis appeared during "first step" in simulation. (Models that do not require convergence calculations, step size become simlation-time / 50. I guess in your case step size maight be 0.5s,)
Please check whether there is the block which have state(like unit delay block) in your model. If there is, the initial value setting of that block might not be correct.
I hope this will help.
  댓글 수: 1
Tony Castillo
Tony Castillo 2021년 6월 16일
편집: Tony Castillo 2021년 6월 18일
Thank you for your answer but it does not seem produced by a delay block, any other insight?

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

카테고리

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

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by