Sine wave with variable frequency

16 ビュー (過去 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 Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by