Sine wave with variable frequency

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

回答(1 个)

Sam Chak
Sam Chak 2022-5-31
编辑:Sam Chak 2022-5-31
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.

类别

帮助中心File Exchange 中查找有关 Simulink 的更多信息

提问:

2022-5-31

编辑:

2022-5-31

Community Treasure Hunt

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

Start Hunting!

Translated by