poster
2019-12-10, 16:49
是否有简单的方法将低通或高通滤波器应用于MATLAB中的数组?我对MATLAB的强大功能(或数学的复杂性?)有点不知所措,并且需要一个简单的功能或一些指导,因为我无法从文档或在网络上找到答案。
回答:
查看filter (http://www.mathworks.com/access/helpdesk/help/techdoc/ref/filter.html)功能。
如果您只需要一个1极低通滤波器,
xfilt = filter(a, [1 a-1], x); 其中a = T /τ,T =采样之间的时间,τ(tau)是滤波器时间常数。
这是相应的高通滤波器:
xfilt = filter([1-a a-1],[1 a-1], x); 如果您需要设计一个滤波器并获得信号处理工具箱的许可证,则可以使用很多功能 (http://www.mathworks.com/access/helpdesk/help/toolbox/signal/f9-131178.html) ,请查看fvtool (http://www.mathworks.com/access/helpdesk/help/toolbox/signal/fvtool.html)和fdatool (http://www.mathworks.com/access/helpdesk/help/toolbox/signal/fdatool.html) 。
更多&回答... (https://stackoverflow.com/questions/1783633)
回答:
查看filter (http://www.mathworks.com/access/helpdesk/help/techdoc/ref/filter.html)功能。
如果您只需要一个1极低通滤波器,
xfilt = filter(a, [1 a-1], x); 其中a = T /τ,T =采样之间的时间,τ(tau)是滤波器时间常数。
这是相应的高通滤波器:
xfilt = filter([1-a a-1],[1 a-1], x); 如果您需要设计一个滤波器并获得信号处理工具箱的许可证,则可以使用很多功能 (http://www.mathworks.com/access/helpdesk/help/toolbox/signal/f9-131178.html) ,请查看fvtool (http://www.mathworks.com/access/helpdesk/help/toolbox/signal/fvtool.html)和fdatool (http://www.mathworks.com/access/helpdesk/help/toolbox/signal/fdatool.html) 。
更多&回答... (https://stackoverflow.com/questions/1783633)