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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!