How to get a damped sine wave with phase delay in Simulink?
1 回表示 (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/165509/image.png)
As seen in the above image, I would like to get a sine wave in Simulink. The parts labelled "A" and "C" are equal to 0 and the length should be given as user input. The section labelled "B" is a damped sine wave with fixed frequency of 4 Hz.
Thanks in advance!
0 件のコメント
回答 (1 件)
Pavel Dey
2016 年 6 月 6 日
You may use element-wise product to get an exponential sine wave. For conditions on beginning and ending of the signal, you may use a counter and a conditional switch. Refer to the attached demo model.
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!