How can I apply this transfer function to this signal?
1 view (last 30 days)
Show older comments
Can't seem to figure it out
close all; clear all; clc;
fs = 36000;
ts = 1/fs;
%200 - 10000 hz
t = 0:ts:10;
y = chirp(t,200,10,10000);
fft_input = abs(fft(y,length(y))); % Converting signal into frequency domain
D = [1 0 -1]; % Numerator of Transfer Function
J = [1 -2 2]; % Denominator of Transfer Function
G = tf(D,J); % (s^2-1)/(s^2-2*s+2) Transfer Function
OUT = G(fft_input); % Trying to apply transfer function to signal
0 Comments
Answers (0)
See Also
Categories
Find more on Digital Filter Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!