Why does the output on my scope not appear to be accurate?

4 views (last 30 days)
I have two signals that are being tested logically. The scope showing the output signal does not change at the same time that the scopes on the input signals indicate that it should.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
Simulink scopes interpolate data between simulation timesteps for graphical purposes. It may, therefore, appear that Simulink is performing calculations incorrectly.
The only 'true' values are those exactly at these timesteps, and the results of logical or mathematical operations should be correct at those points.

More Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!