Sine wave with variable frequency

12 visualizzazioni (ultimi 30 giorni)
Manu  M
Manu M il 31 Mag 2022
Modificato: Sam Chak il 31 Mag 2022
How to create a sine wave with its frequency continuosly varying without change in amplitude in Simulink . When we tried to create it the amplitude is also varying . Kindly help us

Risposte (1)

Sam Chak
Sam Chak il 31 Mag 2022
Modificato: Sam Chak il 31 Mag 2022
Like this?
x = linspace(0, 6*pi, 6001);
y = cos(0)*sin(0.3*x.^2);
plot(x, y, 'linewidth', 1.5)
Use the Interpreted MATLAB Fcn block.

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by