Register to reply

Dc off-set Analysis - Maatlab code

by Hzaqa
Tags: analysis, code, maatlab, offset
Share this thread:
Hzaqa
#1
Nov28-12, 10:51 PM
P: 15
Hi,

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);
figure
plot(y)

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
11.png  
Phys.Org News Partner Science news on Phys.org
Security CTO to detail Android Fake ID flaw at Black Hat
Huge waves measured for first time in Arctic Ocean
Mysterious molecules in space
Hzaqa
#2
Nov30-12, 09:23 PM
P: 15
Up
Up
UP


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