필터 지우기
필터 지우기

how do you filter time data using an analog filter without Simulink simulation?

조회 수: 2 (최근 30일)
GB
GB 2017년 5월 11일
댓글: Star Strider 2017년 5월 11일
I have some oscilloscope data (a time vector and a data vector) and would like to simulate the results if I filter it using an analog filter. (Some of my data files may have varying sample rates). The mkfilt and other filter design tools are great, but most of the 'filter' commands run digital filters on data vectors. Other than running a simulink model and reading the time & data vectors in from the workspace, apply the filter, then saving the output, is there an easier method to run the through the continuous filter in an m-file script?

답변 (1개)

Star Strider
Star Strider 2017년 5월 11일
You cannot use an analog filter in MATLAB or any other digital (discrete) environment. All continuous (s-space) filters are converted to discrete (z-space) filters, implicitly or explicitly.
You can only use an analogue filter as an analogue filter by realising it in hardware.
  댓글 수: 2
GB
GB 2017년 5월 11일
Thanks for your comments and I realize that, but the SIMULINK environment solves the differential equations to simulate the analog world using a variety of solvers, running at iteration rates faster than the analog dynamics. I was wondering if there was that type of solver that could be called from a simple command.
Star Strider
Star Strider 2017년 5월 11일
If I remember correctly, Simulink is C code and then compiled at run time. That could explain the increased efficiency of Simulink blocks.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Analog Filters에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by