The short-time Fourier transform (STFFT)

Поділитися
Вставка
  • Опубліковано 16 жов 2024

КОМЕНТАРІ • 32

  • @mudassir_khan
    @mudassir_khan 28 днів тому

    Hands down this is the best tutorial for STFFT.

  • @robertsutherland4239
    @robertsutherland4239 3 роки тому +1

    You're an incredibly talented teacher!

    • @mikexcohen1
      @mikexcohen1  3 роки тому

      Thanks! I'm glad you found the video useful.

  • @ariffaridi6699
    @ariffaridi6699 Рік тому

    Thank you, Sir, for making such lectures available for all.

  • @emmanuelasante9995
    @emmanuelasante9995 3 роки тому +1

    Infact, your videos are really good. They make you understand the course. Please do you have any videos on the inversion formula for awindowed Fourier Transform?

  • @liweihua2764
    @liweihua2764 4 роки тому +2

    Wow! I like this! Highly recommended. Thanks!

  • @Antagon666
    @Antagon666 6 місяців тому

    Hey, is there way of improving precision of the FFT without increasing computational complexity ? My problem is that the half of the FFT window results are only complex conjugates, meaning the resolution is halved, because useful frequencies are really only in the first half...

    • @mikexcohen1
      @mikexcohen1  6 місяців тому

      Hi Antagon. The "raw" output of the FFT is indeed complex-valued. Most people extract the power spectrum from that complex spectrum. I don't discuss that in this video, but it's in other videos in my ANTS2 series.
      As for increasing the spectral precision: Yep, you can do this by zero-padding the time series. I also talk about that in other videos ;) or you can look up "zero-padding theorem."

  • @TheKuhlschrank
    @TheKuhlschrank 6 місяців тому

    It's a gem. Many thanks!

  • @SAURAVPATHAK94
    @SAURAVPATHAK94 4 роки тому +1

    Thanks for such a good explanation. I have a doubt. How do we plot overlapping windows? Do we place them side by side but that would increase the length of time axis or take average/weighted average of two adjacent windows for getting power spectra of the common region of two overlapping windows? Kindly explain

    • @mikexcohen1
      @mikexcohen1  4 роки тому +1

      The time windows may overlap, but the spectrum is plotted at the center time point. So as long as each time window is shifted slightly from the previous, the center time points will not overlap.

    • @SAURAVPATHAK94
      @SAURAVPATHAK94 3 роки тому

      @@mikexcohen1 Thanks a lot, Now I got it

  • @vyvan2801
    @vyvan2801 Рік тому

    Thank you for nice series video :)

  • @aytraf
    @aytraf 2 роки тому

    Thanks for the videos! I'm curious, what do you do your plots with? I love the color palette!

    • @mikexcohen1
      @mikexcohen1  2 роки тому +1

      Thanks :) The slide template and color palette was designed by a professional science graphic artist. I made the graphs in MATLAB and then pasted them into the slides, but the MATLAB graphics have the same color palette with matching background, so you don't actually see that it's just a pasted screenshot, lol.

    • @aytraf
      @aytraf 2 роки тому

      @@mikexcohen1 Ahha, very creative! Excellent work :)

  • @tobi3497
    @tobi3497 4 роки тому

    Why is "attenuation" of the window required? I simply applied the FT on "square windows" but then I realised everyone else would apply some window function, like the hanning function. How does it improve the accuracy?

    • @mikexcohen1
      @mikexcohen1  4 роки тому +1

      That helps protect against sharp edges at the signal boundaries introducing artifacts in the spectrum. I wouldn't say that windowing is "required," but it is a good idea if the windows are relatively short.

    • @tobi3497
      @tobi3497 4 роки тому

      @@mikexcohen1 makes sense, thank you for these videos

    • @neurochannels
      @neurochannels 4 роки тому +1

      Windowing makes the signal wrap around on itself (makes it "periodic") when you force it to taper down to the same values at the two edges, which makes the FFT behave much better.

    • @KatopianResonance
      @KatopianResonance 3 роки тому

      Using a square window means that frequencies whose wavelength don't fit in that window will be more distorted than frequencies where many wavelengths fit. This is called spectral leakage. Applying a window reduces this negative effect, but distorts the results. Different windows have different advantages, so it's all about choosing a window that distorts in ways you don't care about. You could ofcause just use an infinitely long rectangular window, but that is just converting the STFFT back into the FFT.

  • @harishlakshmanapathi1078
    @harishlakshmanapathi1078 4 роки тому +1

    Loved your video man. I just have one doubt at 5:55 the figure on the right is actually Multiple Resolution STFT right? Where I can have multiple resolutions for different frequency bands?

    • @mikexcohen1
      @mikexcohen1  4 роки тому +1

      Yes, you can pick different spectral resolutions for different ranges of frequencies. It's more code to write and thus a bit more hassle ;) but yes that's what that picture illustrates.

  • @narangfamily7668
    @narangfamily7668 4 місяці тому

    Thanks so much

  • @faridjafari1710
    @faridjafari1710 3 роки тому

    enlightening, Thank you!

  • @keeper280
    @keeper280 3 роки тому

    Ok, make Time Overlap is easy, but how to do Frequency Overlap?

    • @mikexcohen1
      @mikexcohen1  3 роки тому

      That doesn't really happen in the Fourier transform. To get spectral overlap you'd have to use a different method, like wavelet convolution for example.

    • @keeper280
      @keeper280 3 роки тому

      @@mikexcohen1 Correct. I collecting data on free time how to do time-frequency reassigned (TFR) spectrogram.
      Have pdf's and Python,libs. Now must understand how it works.