Generate a variable sine wave during simulink simulation
古いコメントを表示
Hi,
I want to generate a sine which amplitude and delay is changing during a simulation.
From this formula:
out = M * sin(2*pi*50*t + (pi*phi/180)))
I want to change M and phi.
I've tried to generate it using blocks but I am stucked in the sine part. I've tried using a gain but it gives me an error.
The perfect solution for me will be to use the sine wave block and change the variables on the block through an external variable.
Many thanks.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Sources についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
