how to use simulink block
Show older comments
how to represent e^cos(5t) in simulink
Answers (2)
Walter Roberson
on 28 May 2022
0 votes
https://www.mathworks.com/help/simulink/slref/mathfunction.html
https://www.mathworks.com/help/simulink/slref/trigonometricfunction.html
Sam Chak
on 28 May 2022
0 votes
You need 5 blocks and connect them in this sequence from the Left to the Right.
Begin with the Clock block and that's the t. https://www.mathworks.com/help/simulink/slref/clock.html
Connect output of the Clock to the input of the Gain block - set 5 as the multiplier https://www.mathworks.com/help/simulink/slref/gain.html
Connect output of the Gain to the input of the Trigonometric Function block - select cos function https://www.mathworks.com/help/simulink/slref/trigonometricfunction.html
Connect the output of cosine to the input of the Math Function block - select Exponential function https://www.mathworks.com/help/simulink/slref/mathfunction.html
Finally, connect the output of the exponential function to the Scope block to view the signal.
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!