How to change the amplitude of the block Sin wave function during different instants within a simulation?

1 回表示 (過去 30 日間)
Hi,
I need to use the sin wave function block, but I need to set diferents amplitudes over the simulation time. Let's see...for the first 50 seconds of simulation I need an amplitude (variable "dp") of 1000, then when the simulation reach the 200 seconds I need an amplitude of 2000 for example. How can I manage to update this value during the simulation since it's not coming from a input port?

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by