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

I tried both discrete and continuous.

3 Comments

What waveform were you expecting?
I am expecting Triangular wave with peaks +1 and -1. Why is this unsymmetrical?
Have you tried to increase the number of samples.

Sign in to comment.

Answers (1)

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

Products

Asked:

on 2 Jun 2016

Answered:

on 5 Jun 2016

Community Treasure Hunt

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

Start Hunting!