Fourier Transform in Matlab

  • #1

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.
 

Answers and Replies

Related Threads on Fourier Transform in Matlab

Replies
1
Views
4K
Replies
0
Views
2K
Replies
9
Views
2K
Replies
3
Views
2K
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
0
Views
847
  • Last Post
Replies
5
Views
1K
  • Last Post
Replies
2
Views
976
  • Last Post
Replies
3
Views
2K
Top