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
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?