Thank you You have shown that DCT is very bad for signal processing 1 Hz amplitude is 1 and 10 Hz amplitude is 0.2 but after DCT process 1 Hz amplitude is 5.9 and 10 Hz amplitude is 1.39!
This is the best explanation of Runge-Kutta I've ever seen. I never understood it when it was relevant to my university studies, but I found this video after a renewed interest in numerical methods. This is the kind of resource I wish that I had when I was learning this. Thank you for sharing.
This might be a longshot but, how you implement an initial condition for the velocity? Let's say v0=0 and x0=100, xf=0: dropping the ball from 100 meters above the ground
Why is there an x in the definition of the function when there is no x in the actual function? I get the exact same results when i run the code with "def f(t): return np.cos(t)" and "x = x + h*f(t)" in the for-loop Thanks!
what's so bad about complex numbers? To me its more unnatural to avoid them, given that the transform exist in a realm way too deep in the complex domain
Excellent video, I'm a comp sci undergrad now in grad school for Space Systems Engineering and this kind of learning module is amazing for someone trying to break the Aerospace addition to Matlab. Thanks for making this!!
I tried to run this video on my Pycharm, after i install package matplotlib, it is showed me the error; matplotlib.pyplot.show() NameError: name 'matplotlib' is not defined
Hey, could you help me? I wanna a scipy optimization minimize function with a iteration limit, how can i do this? Example, after 2000 iterations stop the otimize and return the results.
In order to print the little label you have to run the comand as "Markdown". There is a drop down menu where the word "code" is on the Jupyter notebook window.
Ah, I was hoping you'd code it by hand instead of just using the module. I need to use the DCT for a coding project and I don't have access to the module. Plus I want to code it from the ground up to understand it properly and play with it. The problem is it's written everywhere in maths, all those silly symbols baffle me... I'll take a look at the module and see how they did it. As far as I can see it's just a for loop taking the dot product of two vectors. Those goddamn equations make the simplest functions so hard to understand. Why can't everyone just write it in Python and drop this antiquated maths jargon? Grr. Ok, rant over.
You took the words right out of my mouth (or rather, keyboard?). When I first figured out how DCT *actually* worked I was annoyed at how long it took me to grasp, all because of the damn maths notation making it look more complex than it actually is.
These videos are from a course at the University of Pittsburgh. I leave them publicly available in case anyone else finds them useful. "Try it" is an assignment that goes along with the video. In this case, the assignment is for the student to write the code for RK4 by following the setup in this video (9:45).