highpass函数的输入x是时域还是频域?
技术分享
发布于 2025-07-22 15:01:48
查看 1过去315天
highpass函数的输入x是时域。
1.运行示例,得到绘图结果。
using TyPlot
using TySignalProcessing
using TyMath
rng = MT19937ar(1234)
fs = 1e3;
t = 0:(1 / fs):1;
x =
[1 2] * sin.(2 * pi * collect([50 250]') * collect(t')) .+
collect((randn(rng, size(t)) ./ 10)')
x = x[:]
y, = highpass(x, 150, fs; plotfig=true)

所属专栏:工具箱
产品信息:Syslab科学计算环境