Dc off-set Analysis - Maatlab code

by Hzaqa
Tags: analysis, code, maatlab, offset
Hzaqa is offline
Nov28-12, 10:51 PM
P: 15

I am trying to use Matlab to analyse this raw signal by introducing Dc-offset analysis:

I used the following code :
a = [1 , -0.98]; b = [1,-1];
y = filtfilt(b,a,x);

And the result :

But, I am trying to get a final result similar to the last graph,
Can you please tell methe exact code to achieve this:

Thank you very much
Attached Thumbnails
Phys.Org News Partner Science news on Phys.org
SensaBubble: It's a bubble, but not as we know it (w/ video)
The hemihelix: Scientists discover a new shape using rubber bands (w/ video)
Microbes provide insights into evolution of human language
Hzaqa is offline
Nov30-12, 09:23 PM
P: 15

Register to reply

Related Discussions
Writing Finite Element Code for Structural Analysis Mechanical Engineering 2
MIPS Assembly Code - Convert instruction code to binary Engineering, Comp Sci, & Technology Homework 2
Recursion code for generating Gray Code in C Engineering, Comp Sci, & Technology Homework 1
Convert latex code to fortran code? Math & Science Software 1