scope displays incorrect waveforms

Using the Repeating Sequence Stair module, when monitoring the waveforms, we found that the output waveforms were not strictly step signals, but had a slight slope as they changed.

 Accepted Answer

It is a discrete/digital simulation. There is always a time interval (however small) between two values. Turning on Marker at the Scope block (View, Style, Marker) will show the data points. Reducing the simulaiton step size will make the slope steeper.

1 Comment

Thank you very much, your method worked and helped me solve my problem, thanks!

Sign in to comment.

More Answers (0)

Products

Release

R2023b

Asked:

on 9 May 2024

Commented:

on 10 May 2024

Community Treasure Hunt

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

Start Hunting!