Return to Video

W01_L03_P04 - Signal detection through averaging and averaging

  • 0:00 - 0:05
    Now let me shift the frequency a little
    bit, just to see what it looks like. So to
  • 0:05 - 0:11
    shift that center frequency. In other
    words, off zero because we haven't done
  • 0:11 - 0:24
    anything off zero yet. We'll just go over
    here, and say, ten. Alright, now you may
  • 0:24 - 0:30
    go like, what happened? Alright? Well I'll
    tell you what happened. Moment here, this
  • 0:30 - 0:35
    goes up. So first of all, I just shifted
    the center frequency over by ten, still
  • 0:35 - 0:41
    fixed in frequency. Now the top picture is
    interesting. Now I am looking at this, my
  • 0:41 - 0:46
    center frequency is zero and zero
    frequency, what does that mean? Cosine
  • 0:46 - 0:50
    zero X, n oscillations. Now my center
    frequency is cosine ten X, well cosine ten
  • 0:50 - 0:55
    X. I mean I have this, I have this e to
    the I ten X multiplying everything. So you
  • 0:55 - 1:00
    see this here? Looks like a cosine 10x
    sitting on that thing. So I have a bump,
  • 1:00 - 1:04
    this hyperbolic secant times the cosine
    ten X. So it's a wave packet, oscillation.
  • 1:04 - 1:09
    So if you want to get rid of it, you'd
    say, well how about if I just look at the
  • 1:09 - 1:21
    absolute value of that thing? And if you
    do that, it takes away the phase, and it
  • 1:21 - 1:26
    gives you back that. Okay, all that
    oscillation was, was having a group of
  • 1:26 - 1:30
    carrier frequencies sitting around in
    there. It's a frequency component and it
  • 1:30 - 1:35
    has a phase. You just get rid of them.
    Absolute value, stuff like that. It's all
  • 1:35 - 1:40
    I care about. You may care about the phase
    for more important reasons later, but for
  • 1:40 - 1:45
    right now, it's all we care about. Notice
    a couple things, if I had a lot of noise
  • 1:45 - 1:52
    on here. I'm going to bury all of this so
    in fact let's, let's, let's bury all of it
  • 1:52 - 1:57
    and just put it in a sea of noise and your
    going to see that. Basically, if I take
  • 1:57 - 2:02
    all of this out and this is all noisy then
    what do I do. Okay, first thing you gotta
  • 2:02 - 2:06
    do, if you have this all buried in noise,
    figure out where is this, where's that
  • 2:06 - 2:11
    center frequency. Second thing you do is,
    once you know where the center frequency
  • 2:11 - 2:15
    is, you can build the filter there, and
    build the filter so you can go back to
  • 2:15 - 2:23
    here, okay. Alright, so let's bury the
    noise. And to bury it in noise is, is
  • 2:23 - 2:28
    amazingly eas y to do, right? So you have
    your function, and there it is, and all
  • 2:28 - 2:36
    you got to do bury it in noise is, for
    every frequency component you got. Let me
  • 2:36 - 2:45
    see where this ends. Here, so I'm FFT'ing
    the signal right? And all I gotta do is
  • 2:45 - 2:55
    add, plus noise, times rand N um., this is
    one by N, plus I times rand N, one by N.
  • 2:57 - 3:03
    That's it, so like we did before except I
    haven't told you what noise is. So let's
  • 3:03 - 3:07
    just do noise is equal to like, twenty.
    I'll just put a bunch of noise on it and
  • 3:07 - 3:15
    let's look at this thing. Whoa, tell me if
    you see anything in there okay now that
  • 3:15 - 3:20
    really bug becomes a real shit alright
    whatever or shit test right. Roshard
  • 3:20 - 3:28
    whatever guy you see in there? Keon do you
    see anything in there no nothing dog cat
  • 3:28 - 3:36
    your house you grew up in no nothing
    carpet. Okay, anybody else, want to
  • 3:36 - 3:41
    volunteer anything else, better than
    carpet, no, okay. All right, by the way,
  • 3:41 - 3:47
    this is what you got, to work with, right?
    And here's what a my claim is, if I keep
  • 3:47 - 3:52
    taking samples of this thing, in fact, I
    have this thing, I have 21 samples, right,
  • 3:52 - 3:58
    I haven't made any use of that fact.
    Right, I've 21 samples, these are all
  • 3:58 - 4:04
    white noise, and in there is just this
    clear line, that you cannot see. There is
  • 4:04 - 4:11
    a signal sitting there, waiting for you to
    go get it. Okay, now lets talk about, if
  • 4:11 - 4:17
    you have this, what does this do to here?
    So that's what it looks like here what
  • 4:17 - 4:24
    does it look like in the time domain. And
    not so hard to do you gotta inverse before
  • 4:24 - 4:32
    you transform everything else you call
    that UN. all I gotta do I've gotta
  • 4:32 - 4:38
    interverse 4A transform it. So I have to
    go, basically, now if you shoot. I FFT
  • 4:38 - 4:44
    shifted it all ahead of time right into
    the absolute value. So, let's go and do
  • 4:44 - 4:52
    some of that. Let's take out the absolute
    value. Let's take off that FFT shift.
  • 4:53 - 4:59
    Okay, all that hard work thrown away, fine
    we'll, we'll, we'll FFT shift it later.
  • 4:59 - 5:06
    All we have to do is take the absolute
    value here and FFT shift it there instead.
  • 5:07 - 5:23
    Okay, but U of N now is just the IFFT of
    U, J. Okay, O UT sorry yeah. So I take row
  • 5:23 - 5:33
    by row this noisy signal. I inversef ully
    transform it, and now I can say supply 211
  • 5:33 - 5:50
    and we can just plot water fall TS
    absolute value of U and, Oh I need my view
  • 5:50 - 6:02
    back. Okay, so here this is your problem.
    Tell me if there's anything there. So
  • 6:02 - 6:07
    remember data analysis is about this. So
    what, what I like about these examples is
  • 6:07 - 6:11
    in your dog problem or in this here. You
    clearly saw, we already know the answer
  • 6:11 - 6:16
    ahead of time. Right? We know there's a
    signal in there. We know there's this
  • 6:16 - 6:22
    thing going like this through here. You
    can't see it cause I hit it, right? And
  • 6:22 - 6:27
    the objective, if you are the airplane is
    to hide yourself. The objective if you are
  • 6:27 - 6:32
    there in that radar is to, is, is hide and
    go seek, right, and but it's, it's whoever
  • 6:32 - 6:37
    has got the better, better data analysis
    processing skills, right? There are things
  • 6:37 - 6:42
    here you have to take advantage of. If you
    don't take advantage of them, you get no
  • 6:42 - 6:46
    information, okay? And what's the
    information you could take advantage of?
  • 6:46 - 6:52
    So first of all in this problem. You may
    not even know where a filter exist put.
  • 6:52 - 6:57
    What happens if this airplane bounces off
    your omeganaut? Suppose, okay? Let, let,
  • 6:57 - 7:02
    let's play a what if game. Suppose you
    develop really great stealth technology.
  • 7:02 - 7:08
    This plane here you know how to put a, a
    nice coating around your, your airplane.
  • 7:08 - 7:14
    Design it so that you send omeganaut out.
    Nothing comes back. Now, if you're these
  • 7:14 - 7:20
    guys, you're like, wow, that's plane
    visible to me. However what if you're
  • 7:20 - 7:24
    emitting some other frequency? There's
    something else coming off your plane off
  • 7:24 - 7:29
    the engine it wasn't something I shot out,
    shot out there, but I have this big
  • 7:29 - 7:33
    spectrum of stuff that I'm reading in.
    Maybe you're emitting at some other
  • 7:33 - 7:39
    frequency some information that I could
    get. I don't even know what frequency I
  • 7:39 - 7:44
    should be lookin for. But if I keep taking
    measurements what this is going to allow
  • 7:44 - 7:49
    me to do is come back to this idea here,
    is to say, here's what I'm picking up
  • 7:49 - 7:54
    which just looks like nothing. And what I
    want to start doin, slice by slice, is I
  • 7:54 - 7:59
    just keep taking information in, start
    averaging it. Because anything that's real
  • 7:59 - 8:04
    signal is not going to cancel out. Noise
    should cancel out, right? So then if I get
  • 8:04 - 8:13
    all the noise cancellation happening.
    Okay, sorry for the pause. Alright, ready?
  • 8:13 - 8:18
    So if I get all the noise cancelling out,
    I will start to see emerging out of this
  • 8:18 - 8:23
    frequency component a signature there,
    somewhere. And maybe I don't know where it
  • 8:23 - 8:28
    is ahead of time, and if I see it. Then
    you can say well, you didn't put a filter
  • 8:28 - 8:32
    around here, get rid of everything else
    put the filter there, see what it says
  • 8:32 - 8:36
    over here. See if there's a signal there,
    right. So this is the kind of stuff you
  • 8:36 - 8:40
    would want to do. It's all about who's
    better at signal processing actually, at
  • 8:40 - 8:44
    the end of the day. Alright, so I've given
    you this example here which is, sort of
  • 8:44 - 8:50
    just using very basic time frequency.
    Which is I can represent the whole signal
  • 8:50 - 8:55
    in time or I can represent it in
    frequency. Now what we're going to move
  • 8:55 - 9:01
    onto is much more sophisticated thinking.
    Which is to say, wait a minute, somehow.
  • 9:01 - 9:05
    When I go from time to frequency, if I'm
    in the frequency domain, it tells me
  • 9:05 - 9:10
    nothing about the time domain. If I'm in
    the time domain, it tells me nothing about
  • 9:10 - 9:14
    frequency. I want both pieces of
    information at the same time. And this is
  • 9:14 - 9:18
    where time/frequency analysis comes in
    which is to say, I would trade a little
  • 9:18 - 9:23
    bit of what I know in the time domain for
    a little information on the frequency
  • 9:23 - 9:27
    domain. I'm not going to give up
    everything I know in the time domain.
  • 9:27 - 9:31
    They're not separate objects. They, I'm
    going to use both at the same time, okay?
  • 9:31 - 9:35
    Remember you can not know everything about
    time and frequency at the same time.
  • 9:36 - 9:40
    Impossible, through the idea of the
    Fourier transform, the idea of Heisenberg
  • 9:40 - 9:45
    uncertainty. That's not a possibility for
    you. However, you can sacrifice one for
  • 9:45 - 9:49
    the other to try to get yourself in a
    situation where you can know a little bit
  • 9:49 - 9:54
    about both and maybe make some information
    there. Okay? Alright, so Wednesday, we're
  • 9:54 - 9:58
    going to talk about window Fourier
    transforms, which is this idea of how do I
  • 9:58 - 10:03
    represent both. In the meantime, you have
    your dog problem, and we'll just keep
  • 10:03 - 10:04
    moving forward from there.
Title:
W01_L03_P04 - Signal detection through averaging and averaging

English subtitles

Revisions