The short-time Fourier transform (STFFT)

Поделиться
HTML-код
  • Опубликовано: 30 июл 2024
  • This video lesson is part of a complete course on neuroscience time series analyses.
    The full course includes
    - over 47 hours of video instruction
    - lots and lots of MATLAB exercises and problem sets
    - access to a dedicated Q&A forum.
    You can find out more here:
    www.udemy.com/course/solved-c...
    For more online courses about programming, data analysis, linear algebra, and statistics, see
    sincxpress.com/
  • НаукаНаука

Комментарии • 30

  • @emmanuelasante9995
    @emmanuelasante9995 2 года назад +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?

  • @robertsutherland4239
    @robertsutherland4239 3 года назад +1

    You're an incredibly talented teacher!

    • @mikexcohen1
      @mikexcohen1  3 года назад

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

  • @faridjafari1710
    @faridjafari1710 3 года назад

    enlightening, Thank you!

  • @vyvan2801
    @vyvan2801 Год назад

    Thank you for nice series video :)

  • @ariffaridi6699
    @ariffaridi6699 Год назад

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

  • @liweihua2764
    @liweihua2764 3 года назад +2

    Wow! I like this! Highly recommended. Thanks!

  • @narangfamily7668
    @narangfamily7668 Месяц назад

    Thanks so much

  • @TheKuhlschrank
    @TheKuhlschrank 3 месяца назад

    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

  • @Antagon666
    @Antagon666 3 месяца назад

    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  3 месяца назад

      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."

  • @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 :)

  • @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.

  • @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.

  • @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.