Why am I getting wave like this for repeating sequence block?

조회 수: 3 (최근 30일)
Muhammed Fasil
Muhammed Fasil 2016년 6월 2일
답변: Sebastian Castro 2016년 6월 5일
I tried both discrete and continuous.
  댓글 수: 3
Muhammed Fasil
Muhammed Fasil 2016년 6월 5일
I am expecting Triangular wave with peaks +1 and -1. Why is this unsymmetrical?
Weird Rando
Weird Rando 2016년 6월 5일
Have you tried to increase the number of samples.

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

답변 (1개)

Sebastian Castro
Sebastian Castro 2016년 6월 5일
I'd recommend going to the model's Configuration Parameters. In the Solver pane, ensure the "Max Step Size" value is set to something small like 1e-5. This way, you limit the model's time step such that your waveform can be constructed properly.
- Sebastian

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by