Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Remove the Base Line Wander from ECG signal

Status
Not open for further replies.

yiyi87

Newbie level 5
Joined
Jul 9, 2009
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Malaysia
Activity points
1,344
ecg acquisition using matlab

hi, i would like to request for help on my fyp
i need to write program to acquire ecg signal via soundcard using matlab and then demodulate it
i have no idea how to start

i search matlab tools that can acquire sound/signal from soundcard directly
but not really understd how the code works
isn't it will automatically acquire any signal from soundcard when we plug in the stereo jack?
 

ecg simulation using matlab

i think you should look for the wavrecord function. if you have further questions please aks.
 

ecg sample matlab simulation

thanks for your reply,pabloec

but wavrecord function can record for certain duration. how to record real time/continuous signal?

and sorry for this silly question, because i am really not good in matlab
the wavrecord can record any signal from sound card? meaning that when i plug in the stereo jack into the input then the ecg signal will directly recorded and appear in matlab?

because i need to use GUI to program a simulation then take real time signal and stop/start the signal then compare it to some standard signal

is it possible? because i know visual basic can do that
 

ecg data acquisition using matlab

u can record ur ECG signal with matlab sound card. but for that u will need some extra amplifing circuitary for the input signal,
also the ECG signals are of low frequencies but by using sound card as ur data acquisition card, the sampling frequency must between 8KHz 44 KHz whic is very high.
I can write some sample code for you if you need it.
 

matlab soundcard input

hi engr_najam,

i designed hardware (FM modulation)after amplifying the ecg signal
then need to use matlab to program and demodulate the ecg signal

and now i need to do a simulation which can acquire signal from external by soundcard
if u can write some sample code for me
i need to have 2 blocks which are start and run, and the signal display in real time

i will mush appreciate if you could help me
tq :)
 

matlab record ecg from sound card

realtime..huh.. it seems to be tough..
because each time signal is stored first for some moment..
then only it will displayed... if you still want to do in realtime then
better you go for matlab simulink realtime enviornment...
simple code to check acquired signal..

ai=analoginput('winsound'); % analog input by the defined function winsound
addchannel(ai,1); % Channel is defined here
ai.SampleRate=8000; % Minimum sample rate=8000
ai.SamplesPerTrigger=24000; % Acquiring data for 3 Minutes
ai.TriggerType='Immediate'; % 8000*N for more time
start(ai); % open connection and display
[d,t] = getdata(ai);
plot(t,d);
zoom on;


check this...
 

matlab code input from sound card

yah thats good
 

small projects using matlab

thanks alot, akss_here.
i will try work it out on this week
 

sound card matlab

hi, everyone
i think i need some help again.
i don't understand or totally got no idea how to use matlab simulink in real time workshop
i don't understand how to link matlab code with the simulink blocks.
is there any example or video on net?
 

analoginput winsound matlab real time

see below links...

https://www.mathworks.com/products/simulink/

and some examples labs

type simulink in command window..
u will get simulink window..
go to user defined function for options to communicate m file to simulink...
its easy to use simulink most of the time...

Happy :D:D
 

sample gui code using wavrecord (matlab)

hi
i can acquire real time signal from the pc sound card
however, i still have no idea on how to use simulink to do fm demodulation in order to demodulate the ecg signal

there is a blockset of fm modulator/demodulator passband
but i don't know how to modulate/demodulate the signal
anyone can help?

i googled, but there is only am modulation on net but no info about fm modulation
tq in advance
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top