how can i demodulate an FM signal without using any function?

7 views (last 30 days)
I want to write matlab code to demodulate FM signal without using any built in or other function. ie without using fmdemod or atan or hilbert. If i get such a code I can convert it into the corresponding VHDL code using HDL coder.

Answers (1)

Kiran Kintali
Kiran Kintali on 1 May 2021
You can refer to product documentation about MATLAB coding style suitable for HDL Code Generation.
web(fullfile(docroot, 'hdlcoder/hdl-code-generation-from-matlab.html'))
%Refer to product examples for some sample coding styles.
mlhdlc_demo_setup('heq')
% All MATLAB to HDL code samples are located here
cd matlab\toolbox\hdlcoder\hdlcoderdemos\matlabhdlcoderdemos

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!