IFFT of signal after transfer functions have been applied
3 次查看(过去 30 天)
显示 更早的评论
I have data points of a signal having a specific unit over time intervals, onto which I need to apply transfer functions for filtering. I have first computed the Fourier Transform of the signal and generated frequnecies based on the sampling interval:
Y = fft(SPZ);
f = Fs*(0:length(Y)-1)/length(Y);
w = 2*pi*f;
Then I have ran the omegas (w) through the Transfer Functions.
Since I am in a need of a time-domain signal after filter application, I am required to do the IFFT of the cleaned signal. Hence, why I proceeded as follows:
Y_corr = Y./Tf'; % Tf - values after ran through Transfer Functions
However, conducting the IFFT of Y_corr gives me all NaN values.
Furthermore, if I multiply Y by Tf, I get only half of the signal (Picutre attached) but the units are very confusing then.
I think I am missing something or plugging in something wrong, but I do not know why.
Thank You for your help!
0 个评论
回答(1 个)
Chunru
2022-9-22
Your transfer function Tf likely has values of 0 and the division operation Y./Tf making Y_corr has inf values so that IFFT cannot be computed.
If you can show your data and code, we may be able to be more specific.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Filter Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!