How to use the FFT like a pro, 3 essential signal prep tips

  Рет қаралды 4,136

Mark Newman

Mark Newman

Күн бұрын

Unsure how to use the FFT to get meaningful results from your data? Join me as I unveil 3 crucial signal preparation tips to ensure accurate frequency analysis.
In this video, you'll discover:
1. How to find the perfect sampling rate to avoid aliasing and capture all the frequencies in your signal.
2. How low-pass filters prevent high-frequency noise from distorting your signal and messing up your FFT results.
3. How windowing functions smooth out signal edges and minimize spectral leakage for cleaner FFT output.
Stop feeding garbage into your FFT and start getting the insights you deserve!
Understanding the Fourier Transform isn't just about using it - it's about unlocking its true potential. Imagine interpreting results with confidence, troubleshooting issues like a pro, and squeezing even more insights from your data.
That's why I've created "How the Fourier Transform Works," an online course that breaks down the mathematical complexities of the Fourier Transform into clear, bite-sized lessons. No more feeling lost in equations!
The official release is still a few months away, but you can be one of 50 early birds and get 50% off the course price, instant access to the first 15 lectures, and automatic updates as new lectures are added.
Click the link below, and secure your spot as one of the lucky 50 today!
the-fourier-transform.teachab...
00:00 Introduction
00:31 Ident
00:50 Tip 1: Set the optimum sampling rate
02:38 Tip 2: Use an antialiasing filter
03:51 Tip 3: Use a windowing function
07:16 Master the Fourier Transform

Пікірлер: 36
@BCarli1395
@BCarli1395 3 ай бұрын
Thank you. Concise and accessible, yet still gives a surprisingly thorough introduction to sampling issues.
@MarkNewmanEducation
@MarkNewmanEducation 3 ай бұрын
Glad it was helpful. Two more videos are coming in this series which I'll be releasing over the next few weeks. However, you can see them already as I have linked to them on the end screen.
@yds6268
@yds6268 3 ай бұрын
I did not expect this video in my feed, but it's exactly what I need
@MarkNewmanEducation
@MarkNewmanEducation 3 ай бұрын
Glad to have been of service.
@bradzepfan
@bradzepfan 3 ай бұрын
OMG you are INCREDIBLE. what a treasure!
@MarkNewmanEducation
@MarkNewmanEducation 3 ай бұрын
You're always so nice about my stuff! Thanks.
@ItsMeTheUser
@ItsMeTheUser 3 ай бұрын
Welcome back sir! Great video as always!
@adastra123
@adastra123 2 ай бұрын
Just ordered the book. Brilliant , brilliant brilliant 👏. Thanks so much.
@sathyaprakash153
@sathyaprakash153 3 ай бұрын
Very nicely explained.
@MarkNewmanEducation
@MarkNewmanEducation 3 ай бұрын
Really happy to have helped.
@RaoHaseeb-vj7ur
@RaoHaseeb-vj7ur 12 күн бұрын
real life sheldon cooper feels like hosting fun with flags but its actually really fun to watch
@alopez545
@alopez545 3 ай бұрын
The boss is back!
@orterves
@orterves 3 ай бұрын
This is fantastic, thanks!
@MarkNewmanEducation
@MarkNewmanEducation 3 ай бұрын
You're very welcome!
@MrHeatification
@MrHeatification 27 күн бұрын
really good
@Pedritox0953
@Pedritox0953 3 ай бұрын
Great video! Very entertaining
@MarkNewmanEducation
@MarkNewmanEducation 3 ай бұрын
Glad you enjoyed it!
@100deep1001
@100deep1001 3 ай бұрын
Thank you ❤
@MarkNewmanEducation
@MarkNewmanEducation 3 ай бұрын
You're welcome 😊
@acidangel162
@acidangel162 3 ай бұрын
Great video. I especially like the part about the windowing function. You explain why it's needed really well. Hanning window is OK when you are dealing with low dynamic range. Like 10 to 20 dB. It falls short when you increase the dynamic range above that. I recommend the Kaiser window. It has somewhat narrow main lobes and is adjustable. You can even go above 100 dB of dynamic range. You can select the correct value for the Kaiser window based on how much dynamic range you need. For audio 50-60 dB is sufficient.
@MarkNewmanEducation
@MarkNewmanEducation 3 ай бұрын
Great tip. Thanks.
@AnimeSyncInfinite
@AnimeSyncInfinite 3 ай бұрын
The G.O.A.T
@MarkNewmanEducation
@MarkNewmanEducation 3 ай бұрын
Thanks.
@rezah336
@rezah336 3 ай бұрын
give some examples of the power of the fourier transform, always show applications
@matthewduck302
@matthewduck302 3 ай бұрын
Hi Mark could you please help, I follow what you are saying in the video, but for applications of the FFT, typically the algorithm does not ask for the Fs of the signal when I implement it in MATLAB or Python. At most it allows for me to specify the size if I want to pad it up to a different length, but it doesn’t need the Fs. I know how to scale the axis when it gives me an output, but how does it know what frequencies to test in the signal if I don’t feed it the sample rate? For example, If I have a function with frequency content up to say 10 MHz and I only have 10,000 data points with a sampling rate of 30 MHz, the FFT in programming doesn’t explicitly ask for the sampling rate, so wouldn’t it only check frequencies up to 10 kHz for the 10,000 points? Caveat that the result looks correct without the giving the sample rate. Why is this?
@MarkNewmanEducation
@MarkNewmanEducation 3 ай бұрын
The FFT algorithm itself will not actually tell you the frequency of any of the sinusoids in your signal. It doesn't care about it. As far as it is concerned, it sees the frequency as an index which ranges from 0 to your FFT size rather than what we would like to see as a number in Hz. In the same way, the FFT algorithm won't directly tell you the Magnitude or Phase of each sinusoid. It only gives you the cosine (real) and sine (imaginary) components for each sinusoid in the signal. If you want to know the Frequency, Magnitude or Phase, you have to work it out for yourself from the list of complex numbers. In your example, you are sampling your signal at 3 times the highest frequency which is great. You won't miss out on any data. To work out the actual frequency of each item in the list, you need to take the position of the item (which will range from 0 to 9,999) and divide it by the number of samples in your FFT (10,000), then multiply the result by 30Mhz. This will give you the frequency in Hz. Just an observation: 10,000 samples is not a power of 2. If the FFT is running without giving you an error message, then MATLAB is doing something to your signal to make the number of samples a power of 2. Otherwise, the FFT cannot run. The shape of your output may well look right. However, check the actual sample values. They will be a scaled version of the real frequency of each sinusoid unless MATLAB is doing something really clever and is somehow working out what the sample rate is in some way. (For example, if you are feeding it 2 columns of data, one containing the timestamp of each sample and the other containing the amplitude).
@nareshkumar4207
@nareshkumar4207 3 ай бұрын
How do we find the highest frequency present in a signal?
@MarkNewmanEducation
@MarkNewmanEducation 3 ай бұрын
Ahh. That's difficult. You really need to know something about your signal first. How do you know how big something is until you measure it, but the very act of measuring, in this case, has the potential to alter the measurement. It's more a case of deciding which frequency range interests you. For example, if this is an audio signal that you want humans to hear, filter out anything above 20kHz as we can't hear those frequencies anyway.
@nareshkumar4207
@nareshkumar4207 3 ай бұрын
@@MarkNewmanEducation Thank for your kind reply sir.
@elijahjflowers
@elijahjflowers 3 ай бұрын
have you used the FFT on thought?
@MarkNewmanEducation
@MarkNewmanEducation 3 ай бұрын
No I haven't! That's an interesting idea. How would you measure thought?
@polarizadmax
@polarizadmax 3 ай бұрын
How about zero padding the signal with low number of sample ? 🤔
@MarkNewmanEducation
@MarkNewmanEducation 3 ай бұрын
Aha... you're anticipating next week's video. I've linked to it on the end screen.
@keipfar
@keipfar 3 ай бұрын
If you feed your fft algorithm with a sample of size N, the fft by default gives the spectra for only N values of frequencies. But it could give you more. If you want more values, you trick the fft algorithm by using Zero padding (adding zeros to your original sample to increase artificially N without changing the information of the signal). Zero padding does nothing to address the sampling rate issue; it doesn't change the information contained in the signal.
@polarizadmax
@polarizadmax 3 ай бұрын
@@keipfar And what if we insert zero between sparse less number of samples before FFT/DFT ?
@keipfar
@keipfar 3 ай бұрын
@@polarizadmaxI am not aware of such techniques. My guess is you will distort the content of the signal. I don't know.
How to use the FFT on a signal of any size
7:55
Mark Newman
Рет қаралды 1,2 М.
The imaginary number i and the Fourier Transform
17:27
Mark Newman
Рет қаралды 32 М.
Increíble final 😱
00:37
Juan De Dios Pantoja 2
Рет қаралды 91 МЛН
Final muy increíble 😱
00:46
Juan De Dios Pantoja 2
Рет қаралды 10 МЛН
IS THIS REAL FOOD OR NOT?🤔 PIKACHU AND SONIC CONFUSE THE CAT! 😺🍫
00:41
ТАМАЕВ vs ВЕНГАЛБИ. ФИНАЛЬНАЯ ГОНКА! BMW M5 против CLS
47:36
Understanding Harmonics, FFT & Frequency Components
21:22
EETechStuff
Рет қаралды 11 М.
Negative Frequency, Imaginary Numbers and the Complex Conjugate
15:53
Why is the output of the FFT symmetrical?
10:56
Mark Newman
Рет қаралды 12 М.
What does "impedance matching" actually look like? (electricity waves)
17:08
Understanding FFT in Audio Measurements
26:05
Audio Science Review
Рет қаралды 25 М.
Windowing explained
10:11
Srinath Srinivasan
Рет қаралды 4,6 М.
STM32 Fast Fourier Transform (CMSIS DSP FFT) - Phil's Lab #111
20:12
Organisms Are Not Made Of Atoms
20:26
SubAnima
Рет қаралды 155 М.
Where are magnitude and phase in the output of the FFT?
10:34
Mark Newman
Рет қаралды 17 М.
Phase
22:27
Mark Newman
Рет қаралды 20 М.
Increíble final 😱
00:37
Juan De Dios Pantoja 2
Рет қаралды 91 МЛН