Vector scope.
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Vieniava
le 14 Fév 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 commentaires
Voir également
Catégories
En savoir plus sur Sources dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!