MATLAB Answers


59 ビュー (過去 30 日間)
pss aditya
pss aditya 2020 年 8 月 19 日
回答済み: Darel 2021 年 7 月 13 日
how do we write a code for am demodulator without using amdemod function?
i want to write the codes without the predefined functions.


Darel 2021 年 7 月 13 日
If you want your own version of amdemod but want to use it as "inspiration" for your own, you can open amdemod.m in the editor or step into it in the debugger to see how amdemod works and then build something similar, as you like.

その他の回答 (1 件)

Dinesh Yadav
Dinesh Yadav 2020 年 8 月 25 日
If you want to write code for demodulation without using amdemod, then you need to first select which method are you going to use for demodulation: Envelope Detector , Square law demodulator etc.
Assuming you select Square law Detector, you have a AM equation of form
V(t) = A(1+km(t))cos(2*pi*fc*t);
need to mathematically model the behaviour of square law device into equations of form
Vsq(t)= k1V(t) + k1(V(t)*V(T)) + ...
then you need to mathematically model a low pass filter and pass the signal through it(model this behaviour either by convolution or convert to frequency domain and multiply both filter response and Square law output and then inverse fourier to get time domian signal) to get AM output.
  1 件のコメント
Pradumn Bhatia
Pradumn Bhatia 2021 年 6 月 28 日
can you give the code


Community Treasure Hunt

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

Start Hunting!

Translated by