- #1
frenzal_dude
- 77
- 0
Homework Statement
I need to find the Fourier Transform of g(t) using matlab,
[tex]g(t) = tri(\frac{t}{2\pi })Cos(2\pi (\frac{5}{\pi })t)[/tex]
Homework Equations
How can this be done accurately since you need 't' to be from -infinity to +infinity?
And how can you input a tri function in matlab?
The Attempt at a Solution
I tried using y=trimf(t,[3 6 8]); but when I multiply the trimf function and the cos function it says the matrices must have the same dimensions.
Thanks for your help.