Plotting Fourier Functions in Matlab - Help?

chief10
Messages
78
Reaction score
0
Plotting Laplace Functions in Matlab - Help?

SORRY I MEANT LAPLACE FUNCTIONS

Homework Statement



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?


Homework Equations



-

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?

-chief10
 
Last edited:
Physics news on Phys.org
could somebody delete this thread..
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top