Advice on learning Match EQ techniques

I’m interested in learning to work with Match EQ-filtering. That is when you have a recording and it’s frequency response and (more or less) automatically matches a new recording using EQ to mimic the first recording’s frequency response. Like Match EQ in Logic.

So I had a look at this page and although interesting it’s a liitle to much to digest for me and unfortunately the examples are in Matlab only.

So I was wondering if there are other, perhaps somewhat simpler, in C++ or even Juce to get me started? I’ve tried to find stuff but didn’t find anything of use.