How to design FIR and IIR filter and add data from excel into them?

16 次查看(过去 30 天)
How to design FIR and IIR filter in matlab and insert a set of 800,000 data from excel into them.
  3 个评论
fikri muhili
fikri muhili 2022-6-14
hye. how can i contact u? or can u give me ur email so that i can share the question
BETTY HOI
BETTY HOI 2022-6-14
The goal is to filter the interference from input signal and represent it in z-domain.
I managed to import the excel file and performed fft. data from excel file is amplitude and time.
i have problem with doing convolution whereby i need the impulse response. i use impz( ) and designfilt( ) but i have problem with values needed for designfilt( ). is there any way to calculate the stopband frequency, passband ripple, etc that is required for deisgnfilt( ).
i would appreciate it if you could provide another alternative (if there's any). thankyou.

请先登录,再进行评论。

回答(1 个)

Ashutosh Thakur
Ashutosh Thakur 2023-12-14
Hi Mohammad,
Based on the provided information I can understand that you want to implement FIR and IIR filter in MATLAB and provide the input from the excel file.
Please follow these steps in achieving your objective :
  • You can use "readtable" or Import Tool to import the data from the excel file to the MATLAB workspace.
  • Since the variables required are present in the workspace you can easily pass it to the filter you require it to be.
Kindly take reference from the following documentation links in undertsanding the above approach:
I hope it helps you in achieving the objective.

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by