how to create a signal with parameters that can be changed while the signal is running?

Hello everyone,
I have this problem. I need to create a sine wave and be able to change it's magnitude while the signal is running.
I tried generating a sine wave in background continuously, but i can only change the magnitde if i preload the data again and start another signal.
Please help if you know a way.
regards
Ali

Kategorien

Mehr zu Audio I/O and Waveform Generation finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 5 Apr. 2022

Beantwortet:

am 18 Apr. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by