Discrete Fourier Transform (Part 2 - Windowing)

  Рет қаралды 15,548

QuantitativeBytes

QuantitativeBytes

Күн бұрын

Пікірлер: 36
@ammarzain4877
@ammarzain4877 2 жыл бұрын
This video is straightforward to follow if we want to know DFT (windowing technique). It helps me understand the intuition of windowing + DFT as general. Thank you!
@QuantitativeBytes
@QuantitativeBytes 2 жыл бұрын
Glad it was helpful!
@kaxxamhinna5044
@kaxxamhinna5044 Жыл бұрын
Great pedagogy! Thank you very much sir
@eliasvusi3451
@eliasvusi3451 Жыл бұрын
You have certainly dropped this to my level, thank you. Is it a right observation though if I say, for the chosen shortened signal, the FFT would have given a single spike at the correct frequency & the illustration is more on the inappropriateness of the application of the rectangular window for the signal in hand?
@deusex4686
@deusex4686 3 жыл бұрын
thank you for making this great video, i am really interested in it, but i didn't find part 3 of it,really hoping for the video of using DFT and windowing to do time frequency signal analysis. thanks again for the great explanation!
@QuantitativeBytes
@QuantitativeBytes 3 жыл бұрын
Thank you very much for your comments! I continued from this video with a series looking at creating a simple spectrum analyser app. The playlist for that is here: kzbin.info/aero/PL3WoIG-PLjSuom-Xl0M1pspvqK1RfKlBn This might not be exactly what you are looking for, but should cover everything you need to do time-frequency analysis. I am planning to come back to this topic at some point, so I might make more videos on time-frequency analysis specifically then.
@sharshabillian
@sharshabillian 2 жыл бұрын
I see the Hanning window gives smaller side-lobes, which leads to less leakage between nearby frequencies, compared to a rectangular window. However, the Hann window in this case has a significantly larger main lobe. Does this not lead to mixing up close frequencies when convolved in the frequency domain?
@fernandotezza1335
@fernandotezza1335 3 жыл бұрын
Great content and phenomenal visualization :)
@QuantitativeBytes
@QuantitativeBytes 3 жыл бұрын
Thank you very much for the comment! Glad you enjoyed the video.
@IsaacMorton
@IsaacMorton 3 жыл бұрын
This all makes sense, thank you. I was however wondering, could all this be avoided by simply taking the Fourier transform starting at 75 and ending at 375 instead of computing the fourier transform of the full 0-500 range? In my mind this would produce a less accurate representation, as there are less points, but would avoid the windowing artifacts.
@rezhaadriantanuharja3389
@rezhaadriantanuharja3389 3 жыл бұрын
Ideally yes, it's best to apply Fourier Transform to one period of your signal. In real world application, however, the signal may consist of multiple frequencies which we don't necessarily know. Another thing to consider is, the speed of computation: If you perform DFT to a vector of length 301 (as you mentioned by starting at 75 and ending at 375), you need to compute a new set of basis vectors because different vector lengths have different set of basis vectors. If your vectors always have the same length e.g. 512, you only need to compute the basis vectors once then store it in memory for future use. This is particularly useful for application such as mobile vibration monitoring device. If your vector length is a power of 2 e.g. 512 or 1024, you can use Fast Fourier Transform algorithm which will give you O(N log N) instead of O(N x N). That being said, common practice is to use various window functions e.g. Hanning Window and then apply Fast Fourier Transform to a vector of length 2^m.
@euglossine4ever
@euglossine4ever 2 жыл бұрын
So useful and digestible Tysm
@QuantitativeBytes
@QuantitativeBytes 2 жыл бұрын
Thank you very much for the comment, I'm glad it was useful!
@MoXyiD
@MoXyiD 2 жыл бұрын
Another awesome video! Id love to see more content about various filters, and maybe even statistical DSP! ^^. Z-transform would be awesome, maybe some constellation content ^.^ I could go on and on. Thanks a bunch.
@QuantitativeBytes
@QuantitativeBytes 2 жыл бұрын
You're very welcome! And thank you for the comment - those are some good ideas! I'm on a bit of ray tracing theme just now, but I might come back to signal processing at some point.
@GGutierrez
@GGutierrez 2 жыл бұрын
Thank you . Keep going.
@QuantitativeBytes
@QuantitativeBytes 2 жыл бұрын
Thank you, I will!
@alexis-74
@alexis-74 2 жыл бұрын
you are a genius
@QuantitativeBytes
@QuantitativeBytes 2 жыл бұрын
Oh, I don't think so, but thank you very much for saying so!
@Mr.Nichan
@Mr.Nichan Жыл бұрын
What I don't understand is why people take the DFT of the whole signal with only one part non-zero, introducing all kinds of nonsense data because you (for no good reason) mandated that the rest of the function must be zero, when you could just as easily ACTUALLY just take the DFT of the window (i.e., treating the part of the signal in the window as if it were the entire signal, with a smaller number of samples), which means not caring at all what what nonsense values the DFT would imply occur OUTSIDE that window.
@conrisc
@conrisc 2 жыл бұрын
Briliant, thank you
@QuantitativeBytes
@QuantitativeBytes 2 жыл бұрын
You're very welcome! Thank you for the comment.
@burakkara337
@burakkara337 3 жыл бұрын
Thank you, great explanation
@QuantitativeBytes
@QuantitativeBytes 3 жыл бұрын
You are welcome!
@jollychappies
@jollychappies 4 жыл бұрын
Really well made video and really insightful. I'm currently doing coursework on this. Could you possible elaborate on how the DFT outputs of the rectangular window function and the input signal combine or 'convolute' to produce the leaked DFT signal? Or what can you suggest I put into google to learn this in the best way? Thanks a lot! Fantastic video. I've subscribed.
@QuantitativeBytes
@QuantitativeBytes 4 жыл бұрын
Thank you very much for your comment and for subscribing! The term you want to search for is 'convolution', I think there are some fairly good explanations out there. Best of luck with your coursework!
@Funtoosh5395
@Funtoosh5395 3 жыл бұрын
thanks a lot sir ..this is first time, even from non electronic background I understand this ....but technical term should be present in video bcos sometimes we don't get the term...even subtitles misspelled it
@QuantitativeBytes
@QuantitativeBytes 3 жыл бұрын
You're very welcome and thank you for the comment!
@samirelhalabi6876
@samirelhalabi6876 3 жыл бұрын
Thank you so much!
@QuantitativeBytes
@QuantitativeBytes 3 жыл бұрын
You're welcome!
@mohanraj411
@mohanraj411 3 жыл бұрын
very useful .Thanks a lot . can u explain about Z transform relation with DFT
@QuantitativeBytes
@QuantitativeBytes 3 жыл бұрын
You're very welcome, glad you found it useful! I will think about looking at the z-transform for a future video, thanks for the suggestion.
@rajabmur4311
@rajabmur4311 4 жыл бұрын
Thank you so much, that was really helpful, i just have a question, how could i choose the best window for sampling, in this example the Hann window was better, in other signals it will not?
@sonnenhafen5499
@sonnenhafen5499 4 жыл бұрын
depends on your requirements to the sidelobes and bandwidths... here you have some names you can put into google: hanning, hamming, blackman, kaiser(!!) window. these are things you learn in some courses on digital signal processing or filter design for M.Sc. on technical uni, keep that in mind, if there are some things overwhelming you. have fun
@bertproeme4535
@bertproeme4535 3 жыл бұрын
FFT? RF frequency's
@QuantitativeBytes
@QuantitativeBytes 3 жыл бұрын
Indeed. FFT of course the way to go for a practical implementation. The content here is intended to be educational on how the discrete Fourier transform actually works, rather than the most efficient implementation. Plenty of good FFT implementations out there already, so I didn't see the point in repeating those.
Building a simple spectrum analyser app (C++ & SDL2) - Part 1
26:45
QuantitativeBytes
Рет қаралды 5 М.
How the Discrete Fourier Transform (DFT) works, with code in C++
43:53
QuantitativeBytes
Рет қаралды 21 М.
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 130 МЛН
Understanding the Discrete Fourier Transform and the FFT
19:20
How are the Fourier Series, Fourier Transform, DTFT, DFT, FFT, LT and ZT Related?
22:47
Iain Explains Signals, Systems, and Digital Comms
Рет қаралды 101 М.
The Fourier Series and Fourier Transform Demystified
14:48
Up and Atom
Рет қаралды 823 М.
Wavelets: a mathematical microscope
34:29
Artem Kirsanov
Рет қаралды 634 М.
What is a Discrete Fourier Transform? | Week 14 | MIT 18.S191 Fall 2020 | Grant Sanderson
34:48
Coding Adventure: Sound (and the Fourier Transform)
43:31
Sebastian Lague
Рет қаралды 390 М.
Fast Fourier transforms (FFTs) and windowing
10:47
Texas Instruments
Рет қаралды 28 М.
The Discrete Fourier Transform (DFT)
17:36
Steve Brunton
Рет қаралды 345 М.
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 130 МЛН