フィルターのクリア

Vector scope.

3 ビュー (過去 30 日間)
matt reister
matt reister 2011 年 2 月 14 日
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.

回答 (1 件)

Vieniava
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];

カテゴリ

Help Center および File ExchangeSources についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by