![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/174406/image.png)
How Can I generate a damped sinusoidal wave in Simulink?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I have to model the damped sinusoidal wave: y = A*sin(w*t-phi).*(exp(-B*t) where:
A=0.2 B=1000 f_s=2000 t = [0:.00001:0.005]; w=2*pi*f_s phi= 1.0472
I know how to do it in Matlab but not in Simulink, as I don't know which blocks I have to use to add the exponential part to the function.
Can someone help? ( a picture of the model would be so appropriate...)
Many thanks,
Lluís
0 Kommentare
Antworten (1)
Avinash Prakash
am 3 Jun. 2016
Bearbeitet: Avinash Prakash
am 3 Jun. 2016
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/174406/image.png)
Hello Lluís,
You can get the damped sine wave in Simulink with this approach. In the "Sine Wave" block, you can give the frequency, amplitude and phase of the signal.
Best Regards,
Avinash
0 Kommentare
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!