the Noisy Signal example on fft function have problems?
Mostrar comentarios más antiguos
i use the fft function's Noisy Signal example, why i change the " S = 0.7*sin(2*pi*50*t) + sin(2*pi*120*t);" into "S = 0.7*sin(2*pi*5*t) + sin(2*pi*120*t);" the plot on "Single-Sided Amplitude Spectrum of S(t)" don't show the correct amplitude of 5Hz is 0.7 it would showed about 0.43.
More, if i change the "L = 1500; % Length of signal" into "L = 2000; % Length of signal" the plot on "Single-Sided Amplitude Spectrum of S(t)" will be correct anain. i only change the number of these codes. what's wrong with this example ??
1 comentario
Richard Burnside
el 19 de Mayo de 2023
I've also been working on fft routines for vibration data and noticed that there is a minimum size of the data set necessary for the fft to produce accurate amplitudes as well as having the sampling rate at least 2x your input signals (Nyquist). I have not worked out the rule of thumb for it but its real. Also there is a minimum signal-to-noise ratio of your input signals necessary for the fft to work in the presense of noise.
Someone will likely come along here who knows the limitiations on size of the data set. I'm curious about it too.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Spectral Measurements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
