Vector scope.
4 views (last 30 days)
Show older comments
I have recently begun using frames in my simulink models and I noticed that the vector scope by default will not display a perfectly square wave when the sample time is close to the duration of the wave. It will display a triangular version of it. What i mean is that the scope will not go from 0 to 1 immediately. It will draw a line from 0 to 1 during that period.Does anyone know how to set the vector scope so it behaves more like the regular scope in this respect.
0 Comments
Answers (1)
Vieniava
on 14 Feb 2011
The problem is in similar wave duration time and sampling time. You may increase your rate of simulation or slow your waveform. Instead using:
signal=[0 1 0 1 1 1 0 0 1];
try
signal=[0 0 0 1 1 1 0 0 0 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1];
0 Comments
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!