what type of signal is this?FIR filters
Show older comments
i am confused as to what type of signal this is when the matlab code is written.
here's ,my code, the variables are linked.
input = xx;
T = 2001;
N = length(t);
freq = abs(fft(input))*2/N;
f = (0:N-1)'/T;
subplot(2,2,1);
plot(input, 'b*-'); % Plot the input as a blue line
xlabel('Time/s');
ylabel('Amplitude');
subplot(2,2,2);
plot(f,freq);
xlabel('Frequency (Hz)')
ylabel('|Y(f)|')
xlim([0 0.5]);
Accepted Answer
More Answers (0)
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!