The intuition behind the Nyquist-Shannon Sampling Theorem

Поділитися
Вставка
  • Опубліковано 28 лют 2024
  • To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/ZachStar/ . The first 200 of you will get 20% off Brilliant's annual premium subscription.
    STEMerch Store: stemerch.com/
    ►Follow me
    Odysee: odysee.com/@ZachStar:0
    Instagram: / zachstar
    Twitter: / imzachstar
    Support the Channel: / zachstar
    PayPal(one time donation): www.paypal.me/ZachStarYT
    Join this channel to get access to perks:
    / @zachstar
    2D Graphing Software: www.desmos.com/calculator
    Animations: Arkam Khan (For contact info go to www.arqum333.com/)
    Check out my Spanish channel here: / zach star en español
    ►My Setup:
    Camera: amzn.to/2RivYu5
    Mic: amzn.to/35bKiri
    Tripod: amzn.to/2RgMTNL
    ►Check out my Amazon Store: www.amazon.com/shop/zachstar

КОМЕНТАРІ • 86

  • @oanceatudor4443
    @oanceatudor4443 3 місяці тому +169

    The fact that this guy makes hilarious videos on his other channel and unironically useful videos on this one is impressive

  • @giovannicastiglioni4084
    @giovannicastiglioni4084 3 місяці тому +57

    Title should be "Are you able and willing to figure out the original signal?"

    • @FireStormOOO_
      @FireStormOOO_ 2 місяці тому +3

      That's why we solder the microchips onto the board - can't have them running away when we tell them to do math

  • @austinisawesome2066
    @austinisawesome2066 2 місяці тому +13

    I laughed out loud when he said “and this makes sense because of the Fourier transform” cause I thought he was going to dumb it down a bunch. Love how this channel is like a “more mature” math channel where not everything has to be explained at a middle school level. Thanks!

  • @michaelhall5801
    @michaelhall5801 2 місяці тому +7

    This upload could not have been timed better. I'm busy learning about this stuff in my signals & systems class and seeing the graphs and plots really helps

  • @sensorer
    @sensorer 3 місяці тому +29

    Nyquist-Shannon theorem is so cool! It lets one connect discrete and continuous signals through their information density, which provides very deep insight. You can also generalize it to signals which do not have compactly supported frequency spectrum like gaussians!
    And there is a surprising connection to the study of minimal length in quantum mechanics!

  • @johnchessant3012
    @johnchessant3012 3 місяці тому +7

    this is one of those things that seems simple but is mindbendingly cool. like the 44.1 kHz thing, basically it's saying if we know the signal at these few isolated points, then we know what it is at all times, _unless_ it contains frequencies higher than half of 44.1 kHz, in which case humans can't hear them anyway

  • @advaitkamath8442
    @advaitkamath8442 3 місяці тому +22

    Everytime i click on one of these videos, i feel like ive unlocked something magical or divine

  • @artemonstrick
    @artemonstrick 3 місяці тому +19

    You do this better than profs at my „elite“ university. This makes me sooo mad at our education

    • @egor.okhterov
      @egor.okhterov 3 місяці тому +4

      Because he's focusing on one subject.
      He doesn't need to do a full course.
      He can spend a huge amount of time preparing 11 minute video.
      Professors cannot do that.

  • @146fallon9
    @146fallon9 3 місяці тому +18

    Thank you so much. I am very grateful that I can understand this theory and why it is periodic in frequency domain. ❤❤❤

  • @martinoffi9249
    @martinoffi9249 Місяць тому +1

    This will help me pass the final exam for my signal processing course tomorrow. Brilliant explanation!

  • @theDreadedBlur
    @theDreadedBlur 3 місяці тому +6

    I am in a class where we apply the Nyquist-Shannon theorem for signal analysis.

  • @user-kw5qv6zl5e
    @user-kw5qv6zl5e Місяць тому

    Thank you thank you...explained to an amateur with a rabid wish to know from first principles. Ive even bought an oscilloscope with FFT to see what a signal looks like without knowing what to look for

  • @WerdFTW
    @WerdFTW 2 місяці тому +1

    I'm literally learning about this in one of my classes and we have a midterm next week, so thank you for the good timing, Zach. 🙏

  • @ultramohitb
    @ultramohitb 2 місяці тому

    It’s nice to have a neat visual depiction of how this theorem works. Thanks!

  • @nepomukullmann3013
    @nepomukullmann3013 3 місяці тому +1

    I wrote a test on this just this afternoon. Great timing and would have loved to have had this before the semester! great video

  • @jamesmnguyen
    @jamesmnguyen 2 місяці тому

    I've been tackling digital signal processing on my own time and this video really helped solidify my understanding of the Nyquist-Shannon Theorem.

  • @zajlord2930
    @zajlord2930 3 місяці тому +5

    god damn, why couldnt you make this vid one semester sooner xd

  • @KevlarSammy
    @KevlarSammy 3 місяці тому

    You are doing amazing things for the field of EEE. Thank you brilliant!

  • @fast_gtr
    @fast_gtr 3 місяці тому

    You made this video exactly while I’m taking an ADC DAC course. Perfect timing!

  • @aaqilkhan
    @aaqilkhan 3 місяці тому

    Nicely explained. As always!

  • @SamuelBelton
    @SamuelBelton 2 місяці тому

    Thank you Zach for such a well presented, detailed and accurate introduction to a difficult concept.

  • @soingpeirce
    @soingpeirce 3 місяці тому

    Bro, I love your videos, this is the first time you've posted one while I was covering it in a class though. We didn't cover the transform part of it, so that really helped me understand WHY aliasing is introduced below double sampling rate

  • @retroforager
    @retroforager 3 місяці тому +1

    christ all mighty i am so happy you're posting on this channel again!

  • @ProfeARios
    @ProfeARios 2 місяці тому

    Excellent video. Greetings from Panama 🇵🇦

  • @HesterClapp
    @HesterClapp 2 місяці тому

    I've known about this for a while, but now I actually understand it! Thank you so much!

  • @dylanparker130
    @dylanparker130 2 місяці тому

    Excellent stuff - Sinc Functions, Fourier Transforms, and Aliasing all in 10 minutes. Wow!

  • @gregorymccoy6797
    @gregorymccoy6797 2 місяці тому

    I knew all this ...at one time in the past. Nice to see it again. You are the math teacher we never got.

  • @idrizpelaj4928
    @idrizpelaj4928 2 місяці тому

    This is such a wonderful visualization, step by step, and not as abstract as drawing on a whiteboard as most professors do haha. Thank you!

  • @das224
    @das224 Місяць тому

    The bit on aliasing is a GREAT visualization =)

  • @lMINERl
    @lMINERl 3 місяці тому +128

    This comment is sponsered by brilliant. New course that gets you top comment each time

    • @U20E0
      @U20E0 3 місяці тому +4

      it works!

  • @thanoskarvouniaris6827
    @thanoskarvouniaris6827 2 місяці тому +1

    Signals & Systems my favourite course in EE

  • @md.adnannabib2066
    @md.adnannabib2066 3 місяці тому

    I am currently studying this in my course.and just your video

  • @user-kf2qs2hg1f
    @user-kf2qs2hg1f 2 місяці тому

    What a satisfying refresher to Signals and Systems! These topics are really starting to fade away after my graduation

  • @michaelrogers1066
    @michaelrogers1066 3 місяці тому +5

    As an electrical engineer that should really be doing my signal processing homework rn, thanks for the video

  • @brianhershey563
    @brianhershey563 2 місяці тому

    Mathematics shedding light into logic, reasoning, assumptions, etc. Well done! 🙏

  • @agastyasanyal4026
    @agastyasanyal4026 2 місяці тому

    Omg Zach PLEASE make a convolution video ❤

  • @untodesu
    @untodesu 3 місяці тому

    Actually this repeating of frequency domain can help you to process higher-frequency signals using your regular PC sound card's ADC: sampling essentially acts as a frequency mixer in a heterodyne receiver with a lot more of "collateral" bands. Though I don't really know whether motherboards have a low pass filters on mic inputs or not

  • @BiplobHossainSorker
    @BiplobHossainSorker Місяць тому

    thanks ❤

  • @adityamaniraja8464
    @adityamaniraja8464 3 місяці тому

    I have my digital communications exam tomorrow and you posted this video at the right time lol

  • @yusufserandogmus4118
    @yusufserandogmus4118 2 місяці тому

    Love it

  • @Saens406
    @Saens406 3 місяці тому

    my favorite theorem of all time

  • @hsavietto
    @hsavietto 3 місяці тому +1

    This math is so dense my head Hertz.

  • @galdali10
    @galdali10 2 місяці тому

    You should make more videos like this

  • @ColissaPollard
    @ColissaPollard 2 місяці тому

    Hey @zach! This is awesome! May I ask which tools you use to build your graphs and animated visuals?

  • @richardtrager7125
    @richardtrager7125 2 місяці тому

    This gave me ptsd from my Control System course from last semester 💀

  • @ashwininir9535
    @ashwininir9535 3 місяці тому +3

    Goat

  • @fotgjengeren
    @fotgjengeren 3 місяці тому

    When my knowledge of music makes me familiar with much of the terminology in this video

  • @lucykitsune4619
    @lucykitsune4619 3 місяці тому

    Damn where were you when I had to learn this shit 7 years ago? Amazing video and really good explanation

  • @oskarkrogsgard3014
    @oskarkrogsgard3014 3 місяці тому

    Please, make a video about convolution! That would be super helpful!

  • @DoktorSchaedel
    @DoktorSchaedel 3 місяці тому

    This brings flashbacks to 3. semester in electrical engineering. Pretty easy stuff as soon as you understand it

  • @EvenMoreCheese
    @EvenMoreCheese 3 місяці тому +4

    Goatt

  • @STEMHub18
    @STEMHub18 3 місяці тому

    Finally after 69 years we get to see another nerdy video.

  • @ozzymandius666
    @ozzymandius666 2 місяці тому

    I want to know why an 8-bit bit sampling depth won't show me real distortion levels on a 16 or 24 bit signal, even if the sampling rate is much higher than the frequency of the signal.

  • @hasanhuseyinuluay7057
    @hasanhuseyinuluay7057 3 місяці тому

    Just in time

  • @delhimisedelcoda8716
    @delhimisedelcoda8716 2 місяці тому

    I don’t understand this, but I certainly hope too soon.

  • @khaledelsayed3507
    @khaledelsayed3507 3 місяці тому

    Great

  • @owlofwisdom
    @owlofwisdom 3 місяці тому

    I'm always confused when I come to this channel and get rational content.

  • @Derps0
    @Derps0 2 місяці тому

    Please make a video on convolution math I'm 2 months into signal processing and I still don't understand why I'm doing it.

  • @Smallpriest
    @Smallpriest 3 місяці тому

    Shannon the GOAT

  • @strangelyrepulsive77
    @strangelyrepulsive77 3 місяці тому

    how do you prevent sinusoidal dipleneration?

  • @bedro_0
    @bedro_0 3 місяці тому

    I am willing, but not able to figure out the original signal.

  • @grln930
    @grln930 3 місяці тому

    DSP is goated. I'm and undergrad and really interested in the subject and I'm wondering where I could end up working in DSP in the industry. Do you have any tips where a career in DSP could lead?

  • @GabrielBorges-fw7iu
    @GabrielBorges-fw7iu 2 місяці тому

    Hey Zach can you please make a video on Engineering Physics degree

  • @user-om4by2ig8g
    @user-om4by2ig8g 2 місяці тому

    How can you make these Videos? 😊

  • @Mark-dc1su
    @Mark-dc1su 3 місяці тому

    Shannon-Nyquist can actually be beaten with compressed sensing!

  • @fhchowdhury1358
    @fhchowdhury1358 2 місяці тому

    Hi, How can I contact with you?

  • @michaelpowers6632
    @michaelpowers6632 3 місяці тому

    I love your videos, but this is the very first time I understood almost 0% of this because I’ve never been exposed to this kind of content

  • @agod5608
    @agod5608 3 місяці тому

    I want to follow.

  • @SpunckyJew6969
    @SpunckyJew6969 3 місяці тому

    I love you

  • @user24242
    @user24242 3 місяці тому

    I've always been a little confused about whether 2f is enough, or if strictly greater than 2f is required.
    At 3:50 you say "faster" and use a greater-than symbol, but at 9:58 you say "at least" while still showing a greater-than.
    I get that in the real world the sampling frequency is never gonna be exact anyway so you need a decent margin (and you showed CD audio being 44100 not 44k as an example of that), but in theory, can I get away with 2f or do I need 2f+epsilon?

    • @voytechj
      @voytechj 2 місяці тому

      In theory sampling at 2f is enough, in practice before ADC we need analog low pass anti-aliasing filter to get rid of frequencies >f. If you don't do that, noises from bats, etc. will "alias" to lower frequencies that can be audible by humans, which is bad. Analog filters are not perfect, 20kHz low pass filter still passes higher frequencies but with lower amplitude. So, we have to sample much higher to combat aliasing from imperfection of analog filters.

    • @rsa5991
      @rsa5991 2 місяці тому +3

      Sampling at exactly 2f is sometimes enough, but in most cases isn't. It depends on the phase difference between the samples and the frequency at f.
      If the samples just happen to fall on peaks of "f" - the signal will be recovered exactly. However, if the samples fall in any other place - you get the frequency at "f" with a reduced amplitude. And if they fall exactly on zeros - the frequency at "f" will be lost.
      Of course, that's assuming we have a perfect low-pass filter to recover the signal.

  • @ar3g0n810
    @ar3g0n810 3 місяці тому

    Next step is to sample non uniformly

  • @philipmrch8326
    @philipmrch8326 Місяць тому

    And this is why high resolution audio is a scam

  • @Negreb25
    @Negreb25 3 місяці тому

    😲😮

  • @MinMax-kc8uj
    @MinMax-kc8uj Місяць тому

    It is nice to spend all my free time learning this stuff, but I'm forgetting it faster than I'm learning it. I'm looking at my math worksheets from 10 years ago and I have to figure it all out again. I think I'll leave this to those autistic people that have a freaky ability to absorb it all. I'll never be as good as they are. I'm going back to playing video games.

  • @realcygnus
    @realcygnus 3 місяці тому

    nifty

  • @ivanrodionov9724
    @ivanrodionov9724 2 місяці тому

    Great video, however I feel you missed an important point, the shannon theorem is a sufficient but not nessesary condition for reconstruction is only true for sinusoidal interpolation. In different bases things get very different, this is what compressed sensing works with.

  • @unnamed7225
    @unnamed7225 2 місяці тому +1

    the top comment is not sponsored by brilliant

  • @brian420pm
    @brian420pm 2 місяці тому

    Mathematics shedding light into logic, reasoning, assumptions, etc. Well done! 🙏