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 Center および File ExchangeSources についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by