Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Simulink Help

  1. Oct 5, 2014 #1
    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: Oct 5, 2014
  2. jcsd
  3. Oct 7, 2014 #2

    analogdesign

    User Avatar
    Science Advisor

    You're not using enough points to generate the sine. Reduce the time step.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Simulink Help
  1. SIMULINK - need help (Replies: 0)

  2. Matlab Simulink Help (Replies: 5)

  3. Simulink help? (Replies: 1)

Loading...