How to generate a truncated sine wave using Simulink...?
Show older comments
Hello everyone!
I was wondering how I can use Simulink to generate a truncated sine wave..? I'm really confused and my professor didn't show an example on how to do this. I've tried using the sine wave block, but I couldn't really come up with a solution.
x(t) = {min{sin(t),0.5} if sin(t) >= 0
{max{sin(t),-0.5 if sin(t) < 0
The above equation is what I'm supposed to put in. I don't need the answer, just something to get me started.
Thanks in advance.
Accepted Answer
More Answers (0)
Categories
Find more on Sources 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!