1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Plotting Fourier Functions in Matlab - Help?

  1. Oct 2, 2012 #1
    Plotting Laplace Functions in Matlab - Help?


    1. The problem statement, all variables and given/known data

    so we have a function

    f(t) =
    |2t, 0≤ t < 2
    |(t^2)-3, 2≤t

    how would you plot this over 0≤ t ≤4 in Matlab?

    2. Relevant equations


    3. The attempt at a solution

    I guess you could work out the step functions or even employ t-shifting but that still leaves me with no idea on how to plot this thing in Matlab, I've read the notation on the mathwork site but i'm just stumped.

    Any ideas guys and girls?

    Last edited: Oct 2, 2012
  2. jcsd
  3. Oct 2, 2012 #2
    could somebody delete this thread..
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook