Vector scope.
조회 수: 4 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Vieniava
2011년 2월 14일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!