hi , I have an excel sheet of accelerometer data and want to use a high pass filter to filter the lower frequencies.

7 次查看(过去 30 天)
The code for the summation of voltage obtained by the accelerometer is given as below:
[~, ~, raw] = xlsread('C:\Users\Shilpa\Documents\scope_record_3.csv','scope_record_3');
raw = raw(2:end,:);
data = cell2mat(raw);
data_trap = trapz(data);
after this i want to use a high pass filter???

采纳的回答

Salaheddin Hosseinzadeh
Hi Shilpa,
I guess the easiest way is to type this
fdatool
in MATLAB command window, this opens the Filter Design and Analysis toolbox where you can create your filter, see it's frequency response and ..., and finally when ever you're happy you can generate a code from the designed filter and even save it for future manipulation.
Good Luck!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by