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

조회 수: 11 (최근 30일)
Mohamad Farahan
Mohamad Farahan 2022년 6월 1일
답변: Ashutosh Thakur 2023년 12월 14일
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