Sine wave with variable frequency

13 次查看(过去 30 天)
Manu  M
Manu M 2022-5-31
编辑: Sam Chak 2022-5-31
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.

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by