Vector scope.
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Vieniava
el 14 de Feb. de 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 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!