Understanding the Z-Transform

Sdílet
Vložit
  • čas přidán 30. 04. 2023
  • This intuitive introduction shows the mathematics behind the Z-transform and compares it to its similar cousin, the discrete-time Fourier transform. Mathematically, the Z-transform is straightforward-it’s just a bunch of multiplications and additions, and you’ll learn how to solve an equation for a few different signals. However, understanding how to solve a Z-transform equation isn’t as important as understanding why the math is the way it is. Therefore, the majority of this tech talk discusses what you are actually doing when you take the Z-transform of a signal.
    Want to see all of the references in a nice, organized list? Check out this journey on Resourcium: bit.ly/3DeS8DX
    Check out these links to learn more about Z-transform:
    - DTFT visualization MATLAB App: bit.ly/DTFT_MATLAB_App
    - MATLAB Documentation: Discrete Fourier Transform: bit.ly/3NfFtGV
    - MATLAB Function, ztrans: bit.ly/40MSnjy
    - Creating Discrete-Time Models: bit.ly/438xsZZ
    --------------------------------------------------------------------------------------------------------
    Get a free product trial: goo.gl/ZHFb5u
    Learn more about MATLAB: goo.gl/8QV7ZZ
    Learn more about Simulink: goo.gl/nqnbLe
    See what's new in MATLAB and Simulink: goo.gl/pgGtod
    © 2023 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc.
    See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.
  • Věda a technologie

Komentáře • 114

  • @BrianBDouglas
    @BrianBDouglas Před 9 měsíci +29

    If you want to play around with the DTFT MATLAB App from this video, you can find it here: github.com/aerojunkie/control-tools/tree/master/DTFT%20MATLAB%20App

  • @nurahmedomar
    @nurahmedomar Před rokem +62

    In university, we were taught how to do the DFT and Z-transform, but never taught why. And this video explains them in crystal clear. Great Job!

  • @harrytsai0420
    @harrytsai0420 Před rokem +42

    OMG! I've been waiting for the series of discrete-time control for nearly 5 years!

    • @BrianBDouglas
      @BrianBDouglas Před rokem +4

      Hopefully, it's worth the wait!

    • @xptransformation3564
      @xptransformation3564 Před 10 měsíci +2

      ​@@BrianBDouglashow did you get such a perfect understanding for all this?

  • @erickappel4120
    @erickappel4120 Před rokem +14

    I was blown away by the clearness of the explanation! Looking forward to more!

  • @diegoperezromero6610
    @diegoperezromero6610 Před rokem +7

    This is by far the best video about the dtft and z transform i've ever seen. Very good and very detailed explanation.

  • @jmanius1
    @jmanius1 Před rokem +25

    Brian is basically my mentor at this point

    • @BrianBDouglas
      @BrianBDouglas Před rokem +3

      🤓 aww thanks!

    • @jmanius1
      @jmanius1 Před rokem +2

      @@BrianBDouglas You responding has literally made my day. Thank you for your awesome videos!

    • @martinsanchez-hw4fi
      @martinsanchez-hw4fi Před rokem +1

      Is there a list of the Matlab videos made by Brian?

    • @MATLAB
      @MATLAB  Před 3 měsíci

      Hi @martinsanchez-hw4fi, You can find all of our Tech Talks on this page: bit.ly/MATLAB-Tech-Talks

  • @MarkNewmanEducation
    @MarkNewmanEducation Před rokem +9

    Amazing explanation. Thanks so much for explaining things in a more intuitive way.

  • @erickappel4120
    @erickappel4120 Před 9 měsíci

    Excelllent explanation! It is the first time someone made the DFT's relation to finite length input clear to me! Thankyou!!!

  • @Michael-ze6oz
    @Michael-ze6oz Před 6 měsíci

    Your explanations and teachings are awesome. This opens my eyes to so many things, and in just 1 video!. Brain, you have been blessed with an amazing gift. Thank you for sharing this with us.

  • @DRAMBgo
    @DRAMBgo Před rokem +5

    Crazy explanation Brian, thank you!

  • @wellid2087
    @wellid2087 Před 6 měsíci

    One of the best introductions I have ever watched

  • @Adhithya2003
    @Adhithya2003 Před 8 měsíci

    The most intutive and lucid explanation of DTFT and Z transform I have ever seen 💖

  • @terrycrews2281
    @terrycrews2281 Před rokem +2

    been watching ur vids since 2014
    ty so much for this ,brian

  • @grxoxl
    @grxoxl Před 3 měsíci

    Honestly, the best explanation of the DFT I've ever seen)

  • @teebee3881
    @teebee3881 Před rokem +1

    This helps so much, please make more of these

  • @PrestonRogersJPL
    @PrestonRogersJPL Před 5 měsíci

    This was the best explanation on DTFT I have ever seen! Bravo!

  • @user-pn6qx1vu3q
    @user-pn6qx1vu3q Před rokem

    please make more of this ! it really really help !!!!

  • @MrRaghunar
    @MrRaghunar Před 8 měsíci

    Excellent explanation, great job!

  • @222_Official
    @222_Official Před 3 měsíci

    Amazing and very intuitive video, thanks!

  • @emiliomartineziii2980
    @emiliomartineziii2980 Před 4 měsíci +3

    This was truly amazing! This guy has MIT level brainpower. Like woah, his ability to explain and efficiently articulate this stuff is unreal. This channel will be my saving grace in dsp for sure! Already subscribed too. He's a legend for sure!

  • @hamedmajidian4451
    @hamedmajidian4451 Před rokem +1

    You are the best looking forward to watching more and more!

  • @clarklau1292
    @clarklau1292 Před 2 měsíci

    I learned about DFT and z-transform many years ago, but it wasn't until I watched this video that I truly understood what the 'e' and 'z' in these two transformations actually do.

  • @philipprottweiler2924
    @philipprottweiler2924 Před rokem +3

    Awesome explanation! When will the video on the Z-Domain be published? Really looking forward to it

    • @BrianBDouglas
      @BrianBDouglas Před 9 měsíci +4

      I hope before the end of the year. I have 4-5 more videos in my queue before it though :(

  • @vincentjupiterayuste2358

    Thank you Sir Brian

  • @mixguru9669
    @mixguru9669 Před rokem +5

    My control systems professor should watch this video.

    • @sukursukur3617
      @sukursukur3617 Před rokem +1

      I am very sure he didnt learn the background of the concept. That is why he cant convey its knowledge properly.

    • @Amine-gz7gq
      @Amine-gz7gq Před 10 měsíci

      @@sukursukur3617 CZcams FTW

  • @BingtheLizard
    @BingtheLizard Před 5 měsíci

    I've been able to solve a Fourier Transform in analytical form back at uni, without understanding what it was for.
    I've been able to implement a Discrete Fourier Transform algorithm in code to do simple frequency analysis of a signal, without understanding why the algorithm was the way it is.
    With your explanation, I think I finally get the "why" of the Discrete Fourier Transform, the way it uses correlation. Thanks for this explanation; I feel like one more thing is clicking into place.

  • @franciskimonge1851
    @franciskimonge1851 Před 9 měsíci

    my guy just made fourier transforms, laplace transorm and z transform all make sense , thank you

  • @giantbee9763
    @giantbee9763 Před 2 měsíci

    Brian is amazing! This video is extremely clear :)
    One note on time delay [n-1] implying z^-1, it wasn't clear to me at first how the first example with a pulse function translated to all general cases, but it later occured to me that y^0, which in a delayed sequence matched z^-1, and every term afterward matches the original function, so hence it is the case for the general case. Such that time delay [n-2] does not imply z^-2, and so on. If I have understood correctly.

  • @joez9162
    @joez9162 Před rokem

    @Brian I’d love to see you do an explanation of ADRC controllers!

  • @Pedritox0953
    @Pedritox0953 Před rokem +2

    Great video!

  • @j.fkamaldeen
    @j.fkamaldeen Před rokem +1

    Thanks alot Brian 🎉

  • @ernstuzhansky
    @ernstuzhansky Před rokem

    Many thanks Brian!

  • @Eta_Carinae__
    @Eta_Carinae__ Před rokem +1

    We know that we can use FT on account of e^{i /omega n} forming an orthogonal basis for all n. I'm wondering, since z^{-n} spans all complex exponentials (assuming no limit like n>0), if there are any non-zero inner products between differently-based exponential functions. I mean, just by definition you're sweeping over scalar multiples of a basis, making all elements (r e^{i /omega})^{-n} LD on (e^{i /omega})^{-n}, right?

  • @joelevi9823
    @joelevi9823 Před 16 dny

    I can't find the link to the video about the Z domain.. will be happy to get it

  • @em2129
    @em2129 Před měsícem

    You are a wizard. Thank you!

  • @Volticymo
    @Volticymo Před 6 měsíci +1

    Can’t wait for z domain video

  • @user-iu7qg9lo7y
    @user-iu7qg9lo7y Před rokem +1

    this is teaching at its finest

  • @martinsanchez-hw4fi
    @martinsanchez-hw4fi Před rokem

    Thanks for te awesome content. Where can I find the list with Brian videos for this Channel?

    • @BrianBDouglas
      @BrianBDouglas Před 9 měsíci

      I organize all of my MATLAB videos here: engineeringmedia.com/videos

  • @BalajiSankar
    @BalajiSankar Před rokem +1

    Thank you.

  • @user-pn6qx1vu3q
    @user-pn6qx1vu3q Před rokem

    I never understand why we use complex number to do the transform, until now !!
    TO CONSIDER THE PHASE !!

  • @user-xq6dq7xe5e
    @user-xq6dq7xe5e Před 7 měsíci

    is there any open source on the internet about detail on z domain

  • @Neuromante73
    @Neuromante73 Před rokem +1

    Hi Brian, since I am studying how to develop MATLAB apps, would it be possible for you to share the app that you have used during the discussion on the DTFT? Thanks

    • @Amine-gz7gq
      @Amine-gz7gq Před 28 dny

      he put the github link in the description

  • @franciscorainero8673
    @franciscorainero8673 Před 11 měsíci

    Is the shown Matlab application available on any link? (The one that calculates the FFT in min 7:50)

    • @BrianBDouglas
      @BrianBDouglas Před 9 měsíci

      I just put it on GitHub. Check the pinned comment above!

  • @khanhtruong3254
    @khanhtruong3254 Před 8 měsíci

    Hi Brian, thanks for great explanation. At your DTFT demo 10:10, your input data signal clearly has magnitude of 1, so you choose the probing signals also have magnitude of 1 so it fits perfectly in your "dot product". If the input data signal is a combination of many frequencies with different magnitudes, it seems that we still keep the magnitude of probing signals (sine and cosine) as 1. I wonder why that still works? Shouldn't we adjust magnitude of probing signals according to the input signal?

    • @BrianBDouglas
      @BrianBDouglas Před 8 měsíci

      I think I understand your question, but I might be off a bit. Let me give it a try. If a particular frequency in the input signal had an amplitude that wasn't 1 there would still be correlation between it and the probing signal with an amplitude of 1. Since we're multiplying the two signals, having a larger amplitude in one is just like multiplying the product of the two signals by a gain. So that frequency would have a larger value in the lower plot. Which is exactly what you want because you want to see "how much" of each frequency there is in the original signal. For example, if the signal is 5*sin(t) and the probing signal is sin(t), then the product of the two is 5*sin^2(t) and so the summation would be 5 times larger. Was that your question and did my answer make sense?

    • @binhnguyenquoc3249
      @binhnguyenquoc3249 Před 8 měsíci

      This is how I see it, lets assume the input signal is a sum of many sinusoidal signals like x1.sin(w1.t) + x2.sin(w2.t) + x3.sin(w3.t) + .... When you have infinite data point, you can prove mathematically that with each probing signal, ONLY the exact probing signal that have the same frequency as one of the input's frequency components would have a NON-ZERO dot product (you can intuitively understand the reason why this happen by taking the integration of the product of two sinusoidal signals with different frequencies, the value would be 0), so the value of x1, x2, x3 or any amplitude of the input's frequency component is not that important (except when you need to know the amplitude of the component frequency) since the output plot would only have pulses at those exact frequencies (when you have infinite data point).

  • @5vart5ol
    @5vart5ol Před 7 měsíci

    I love this, Im only 9 min in and it is all so clear to me now!
    Thank you. (Unless the next 10 min gives me dementia).

  • @gradientenfeld
    @gradientenfeld Před rokem

    Is this tool you showed for the DTFT somewhere available?

    • @BrianBDouglas
      @BrianBDouglas Před 9 měsíci

      I just put it on GitHub. Check the pinned comment above!

  • @blessingshenjere484
    @blessingshenjere484 Před 27 dny

    Like how he explains. Like a documentary

  • @braedenlarson9122
    @braedenlarson9122 Před 3 měsíci

    So cool!

  • @heitorabreu3045
    @heitorabreu3045 Před 2 měsíci

    love you Brian

  • @user-yy5vg3mf6m
    @user-yy5vg3mf6m Před 13 dny

    Common man I had math exam yesterday, where were you 😢

  • @tim110-handle
    @tim110-handle Před 5 měsíci +1

    when will the z domain video come out?

    • @BrianBDouglas
      @BrianBDouglas Před 4 měsíci +1

      I was hoping by now! But the video got pushed for a bit to get other work done. It will be here one day though. Sorry!

  • @PankajSingh-dc2qp
    @PankajSingh-dc2qp Před měsícem

    The input signal at @ 1:31 is delta[n] and not u[n].

  • @briancoon308
    @briancoon308 Před 3 měsíci

    Did that z domain video ever get published?

    • @BrianBDouglas
      @BrianBDouglas Před 3 měsíci

      I'm almost done with it! I had to change what I'm going to cover in it because I found a video by Youngmoo Kim that covers pretty much what I wanted to and it's brilliantly done. I'm going to call it out in my video and cover a few different things now. I'd put the link but my comment will be removed but search CZcams for "Applied DSP No. 9: The z-Domain and Parametric Filter Design"

  • @martinsanchez-hw4fi
    @martinsanchez-hw4fi Před rokem

    Why an impulse would be integrated to a constant value of 1?

  • @borisbvt5473
    @borisbvt5473 Před 8 měsíci +1

    So, is z-transform kind of discreet Laplace Transform?

  • @manfredbogner9799
    @manfredbogner9799 Před 5 měsíci

    Very good

  • @rob9756
    @rob9756 Před rokem +2

    Is z transform discrete Laplace transform?

    • @matwiz20xx
      @matwiz20xx Před rokem

      Yes, that's right. This is why you have to see what is the application for which you are going to choose certain transform. For instance, z-transform is used in digital filter design, whereas the Laplace transform is mainly used in applications such as AC circuit analysis, and so on.

  • @eduardojreis
    @eduardojreis Před 4 měsíci

    16:50 - Where is the Z-Domain video?

    • @BrianBDouglas
      @BrianBDouglas Před 4 měsíci +1

      I'm just starting it now ☺ It took a while to get to it. Any particular questions you'd like answered in it while you're thinking about it? Thanks!

    • @eduardojreis
      @eduardojreis Před 4 měsíci

      @@BrianBDouglas Thank you so much for the feedback. Very much appreciated you asking! Yes! I do have questions that, if possible, I'd love to see them answers. 1) Can you give a couple more examples of how to go from the zero+poles representation to the filter equation? 2) Can you explain butter filters design and their relation to the Z-transform? What does the butter function does? 3) Can you explain `sos` for filter design? Why `sos` is more stable than the `butter` function in some cases?
      These are some topics I came across when first watching this video. I would find very helpful to have them addressed, but if you consider a bit out of scope for the next video you're planning that is fine. I looking forward to it anyways, your videos are great and I've learned a lot! Thank you for all the effort and quality put into them!

  • @pijnappel03
    @pijnappel03 Před 4 měsíci

    DTFT: 5:28

  • @KingBhoomie
    @KingBhoomie Před rokem +1

    1:27 Input u[n] generally refers to unit step function. And Unit impulse is represented by δ[n]

  • @reviewchan9806
    @reviewchan9806 Před měsícem

    If the components have both exponential and periodic signals, wouldn't that just the the Laplace transform?

    • @BrianBDouglas
      @BrianBDouglas Před měsícem +1

      The Laplace transform is for continuous signals, the Z-transform is the discrete equivalent.

  • @hamedhojatian3539
    @hamedhojatian3539 Před 6 měsíci

    Could it BE any more simpler to explain DFT?

  • @user-xq6dq7xe5e
    @user-xq6dq7xe5e Před 7 měsíci

    when the video on the z domain will be made and published

    • @BrianBDouglas
      @BrianBDouglas Před 7 měsíci

      I don't know, it keeps getting pushed back :( But I'll get it out eventually.

  • @PankajSingh-dc2qp
    @PankajSingh-dc2qp Před měsícem

    There is no integrator in discrete time. Discrete time has "accumulator".

  • @kenakackrmn3898
    @kenakackrmn3898 Před 24 dny +1

    5:25 sampai 12:09

  • @Amine-gz7gq
    @Amine-gz7gq Před 10 měsíci

    Thank you very much Brian. I love you man (I'm not gay 😂). I have a master degree in CS and system control but I never really understood system control and that's why when I have free time I enjoy watching your videos. software engineering sucks, I spend my day refactoring complex, buggy programs written by idiots and unconscious people. I'd like to do something more meaningful and intellectually stimulating like systems controls. Unfortunately, I wasn't taught the latter and maths very well, and thanks to some books and youtube videos, I'm in the process of fixing that. I have a question : Why don't we use exponential functions based on 'e' to scan/probe the sampled signal ? Is it because the signal is sampled and it doesn't make sense to use a function that expresses continuous growth/decay ? after all we can pose r = e^something.

    • @BrianBDouglas
      @BrianBDouglas Před 9 měsíci +1

      The middle of page 608 here: www.dspguide.com/CH33.PDF explains why we use r instead of e. Hope that helps!

  • @40NoNameFound-100-years-ago

    I am wondering why Mathworks took so long time to make such videos?
    We are in 2023 and version 2023 has been released.
    These control methods were introduced and had been modified since version 2006 .

  • @SRIGHT0
    @SRIGHT0 Před 24 dny

    Halo saa disuru bu guru njelasin

  • @tidin_tss
    @tidin_tss Před měsícem

    респект авторам, но ничего не понятно для чего его использовать вообще

  • @jimapost1496
    @jimapost1496 Před 4 měsíci +1

    respect to matlab

    • @Amine-gz7gq
      @Amine-gz7gq Před 28 dny

      For the videos, yes, but not for their software, which should be free for home users.

  • @kdre76
    @kdre76 Před 3 měsíci

    L 1

  • @mightyparry
    @mightyparry Před 7 měsíci +1

    in cre di ble

  • @Alexis-ym9ph
    @Alexis-ym9ph Před 8 měsíci +1

    This explanation is actually pretty bad in comparison to explanation of other authors on CZcams)

    • @youtube-username-placeholder
      @youtube-username-placeholder Před 8 měsíci +2

      I respectfully disagree😅

    • @Amine-gz7gq
      @Amine-gz7gq Před 28 dny

      This subject (like many others) is so complex that a single video is not enough to explain it in depth. You need to watch several videos by different people to improve your understanding of the subject.

  • @marcinmartke2960
    @marcinmartke2960 Před rokem +3

    boring, but not for me :)