Thanks for to comment. The post is like a decade old now. There are much better implementations available now on instructables.com and a nice paper in HardwareX.

]]>I really Like the way you have explained everything. It would be great if the video could be shared to have an idea how does it work.

Thank you.

]]>Yes, filtfilt filters the signal first in the normal direction, going forward in time (which delays signals in time), the it takes that filtered signal and filters it again in the reverse direction, going backwards in time (which advances signals in time). This second filtering essentially undoes the time delay caused by the first filter. It also means the filter has double the number of poles of the filter you specified.

Actually, not a bad idea for a blog post seeing as how common filtfilt is just used by default.

]]>Hi Ruth, sorry I didn’t see your comment earlier. I created the animated plots in Python. This tutorial shows how things are done.

https://jakevdp.github.io/blog/2012/08/18/matplotlib-animation-tutorial/

I’m not an expert in linear algebra, but to my understanding, if I say a matrix M and I calculate its eigenvectors v, and I arrange them in columns, to make a matrix V, and I get the matching eigenvalues, and put them in the diagonals of a matrix Λ, then we can say M = VΛV-1 . And this is eigen decomposition. So what I have described in neither singular value, nor eigen decomposition, but it is very related to eigen decomposition (and of course, learning eigen decomposition is a good first start to learning SVD).

]]>Great explanations! I was wondering whether the method you have described is single value or eigen decomposition?

Many thanks ]]>

Many thanks ]]>

Hi Bill,

I redid this exercise and yes, this cleared it up for me! Thank you for your quick response!!

Because everything in the circuit is linear (i.e. if you double the voltage, you double the current), you can use a trick called “superposition”, don’t worry, it’s simpler than it sounds.

You split the circuit in into simplified versions, where there is only one voltage source. You convert any other voltage source to a wire. Then you solve for your value of interest in the simplified versions.

Then you just add up the simplified versions. Hopefully an image of how I did it will show up below: