フィルターのクリア

Time steps for random generator in simulink

2 ビュー (過去 30 日間)
richard
richard 2014 年 9 月 21 日
回答済み: Azzi Abdelmalek 2014 年 9 月 21 日
I am using a repeating sequence to generate a triangle wave for PWM in Simulink.
In specifying the time values for the repeating sequence, when I use values such as: [0 0.00005 0.0001] (corresponding to a 10kHz waveform), the waveform looks fine.
When I use a smaller time value of: [0 0.000005 0.00001] (corresponding to a 100kHz waveform), the waveform looks all distorted.
How can I "set" the timestep in the simulation, so that the triangle wave is not distorted?

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 9 月 21 日
In model configuration parameter, choose your solver type to fixed step, and just below set your your fundamental sample time. http://www.mathworks.com/help/simulink/ug/choosing-a-solver.html#f11-41982

その他の回答 (0 件)

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by