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

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)

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

Asked:

on 6 May 2013

Answered:

on 1 May 2021

Community Treasure Hunt

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

Start Hunting!