I am trying to implement PLL demodulator for FM signal in Matlab, without using Simulink.
(FM Signal) >----Multiply---Loop Filter------> (Demodulated signal) | | ^ V |--------VCO---------|
My plan is to use above configuration. I have filter
, VCO
as functions, now I should combine them in a feedback mechanism. What kind of code structure should I use for this?