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 CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by