step amplitude change in a sine wave code Matlab
Show older comments
Hello. How do i create a step change in the amplitude of a sine wave. This is the code i have thus far:


I want to change the amplitude from 5 to say 10 after a few cycles like in the top fgure. Thanks for the help in advance.
Accepted Answer
More Answers (1)
Macyln Chingwena
on 29 Jul 2020
Categories
Find more on Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!