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

MATLAB function

  1. Mar 19, 2013 #1
    Hello!

    I want to plot this function on MATLAB:

    f(t)=1 si 0<=t<=1
    f(t)=0 otherwise

    Please help me! How to do it????
    I tried so much things it doesn't work!!!
     
  2. jcsd
  3. Mar 19, 2013 #2

    Mark44

    Staff: Mentor

    Look up the Heaviside function in the Matlab documentation.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: MATLAB function
  1. Matlab function (Replies: 2)

  2. MATLAB function (Replies: 2)

  3. Matlab function (Replies: 1)

  4. Matlab functions (Replies: 0)

  5. Matlab functions (Replies: 0)

Loading...