Hi everyone,(adsbygoogle = window.adsbygoogle || []).push({});

here is the problem:

I am trying to reproduce a human finger while pressing a keyboard.

I am using a shaker and a fingertip made of foam rubber. To measure the force history, a force gage make a link between the fingertip and the shaker.

The fact is the curve has an offset and I try to know why.

A solution might be that we use the force gage at a 5.8Hz and that material is usully use with frequency upper than 10 Hz.

To solve that problem a basic solution would be to filter the signal recorded with an high pass filter.

Actually I really don't know how to do it.

here is my code on matlab

f=10; %Cut off frequency%

fs=42000; %resolution frequency%

w=f/(fs/2); % frequency normalized%

N=100; &filter order%

b=fir1(N,w,'high');

figure(1);

freqz(b,1,42000,fs); % we see how the filter look like%

y=fftfilt(b,X1(1:65536,2));

figure(2);

plot(X1(1:65536,1),y,'r',X1(1:65536,1),X1(1:65536,2))

First, how do you think is it possible to make a 10Hz high pass filter with matlab

Second, if you have some idea to solve my problem while using other thing than filter the signal, that would be a pleasure for me.

Regards

jeremy

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# 10Hz High Pass filter with Matlab

Loading...

Similar Threads - 10Hz High Pass | Date |
---|---|

Matlab Passing variables out of ODE45 | Jan 18, 2017 |

Mathematica: Trouble accurately integrating highly-nonlinear DE | Aug 16, 2013 |

Evaluating high-degree polynomials | Nov 9, 2012 |

Software to plot high quality figures | Aug 17, 2011 |

High precision calculation in Mathematica | Nov 15, 2004 |

**Physics Forums - The Fusion of Science and Community**