Matlab graphing using discrete fourier transform

  • Thread starter royzizzle
  • Start date
  • #1
50
0

Homework Statement



Compute the discrete fourier transform of the ecg signal, graph the amplitude and phase response.

The problem gives data in the form of a ecg.mat file. Contained are two double variables: voltage data for the ecg and a time vector for the ecg. both the voltage and time are 1x4000 matrices

The problem asks for discrete fourier transform without giving the sampling frequency, thats where I am confused about

Homework Equations



n.a

The Attempt at a Solution



will the sampling frequency be 1/T where T is the sampling interval? So if I count each element in the time vector as 1 second will the sampling frequency be 1/4000 = .00025Hz?
 

Answers and Replies

Related Threads on Matlab graphing using discrete fourier transform

  • Last Post
Replies
1
Views
2K
Replies
1
Views
614
  • Last Post
Replies
1
Views
919
  • Last Post
Replies
3
Views
1K
Replies
7
Views
2K
Replies
1
Views
4K
Replies
3
Views
2K
  • Last Post
Replies
0
Views
2K
Replies
0
Views
927
Top