eng_shady00
Member level 2
matlab standalone application workspace
I designed a circuit to detect the ecg signal.
I applied it to pc through the mic. input, then i applied it to matlab using the wavrecord function.
I can select my sampling rate and the number of samples to record.
Now,first i want to plot the signal against time. Can this be acheived by just the plot command, or i need to create a time vector.
Second, i want to apply the signal to a LPF and a HPF ( BPF) ,and then a notch filter to eliminate the 50 or 60 hz of mains.
I just don't know how to manipulate the signal after introducing it to matlab.
Assume the applied ECG signal is now in the matrix A:
size(A)=[1 S*Fs] % S=Period in seconds, Fs=sampling frequency
I don't have a great experience in digital filtering.
Please help
I designed a circuit to detect the ecg signal.
I applied it to pc through the mic. input, then i applied it to matlab using the wavrecord function.
I can select my sampling rate and the number of samples to record.
Now,first i want to plot the signal against time. Can this be acheived by just the plot command, or i need to create a time vector.
Second, i want to apply the signal to a LPF and a HPF ( BPF) ,and then a notch filter to eliminate the 50 or 60 hz of mains.
I just don't know how to manipulate the signal after introducing it to matlab.
Assume the applied ECG signal is now in the matrix A:
size(A)=[1 S*Fs] % S=Period in seconds, Fs=sampling frequency
I don't have a great experience in digital filtering.
Please help