Help Needed! Drawing a Half-Wave Sinusoid in Simulink

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
cherylt
Messages
1
Reaction score
0
Dear all, I am pretty bad at Simulink and I want to draw out a half wave sinusoid with the equation:
I(t)=360sin(pi*t/0.4), 0<=t<=0.4
I(t)= 0 , 0.4<t<=1

Any help or suggestions?
I've tried using the Sine block with amp=360 and freq=7.85 but the graph looks weird.
I want to get the graph in blue but only managed to get the one in yellow.
z9190q7.jpg
 
Last edited:
Engineering news on Phys.org