【问题标题】:To find FM signal's phase in Matlab在 Matlab 中找到 FM 信号的相位
【发布时间】:2013-11-23 12:00:29
【问题描述】:

我想找到 FM 信号的相位。消息信号的matlab代码是

m= ones(1,Fs); 
m= [m(1:round(.4*Fs))*1, m(round(.4*Fs)+1:round(.7*Fs))*-2 ...
    m(round(.7*Fs)+1:Fs)*0];

如何找到调频信号的相位?

【问题讨论】:

  • 如果您了解 FM 是什么就很明显了。你试过什么?顺便说一下,你需要定义一个调制指数
  • 函数 ELE361_Proje2(Kf,Fc,Fs) Kf=50; Fc=400; Fs=100; t=linspace(0,1,Fs); m=个(1,Fs); m= [m(1:round(.4*Fs))*1 m(round(.4*Fs)+1:round(.7*Fs))*-2 m(round(.7*Fs)+ 1:Fs)*0];%message信号fi_t =2*piKftrapz(m,t);%phase u=10*cos(2*piFc t+fi_t);%调制信号图(t,m);
  • 我尝试使用 trapz 方法进行积分,但我得到了这个图形(调制信号:prntscr.com/23h6d2
  • 看我的回答。下次您应该更新您的任务以包含代码,因为在评论中它无法正确格式化

标签: matlab telecommunication phase modulation


【解决方案1】:

您需要在代码中进行以下更正:

Kf=50; %%% increase Kf no notice effect
Fc=400;
Fs=5000; %%% Increase Fs. Nyquist criterion!
t=linspace(0,1,Fs);
m= ones(1,Fs);
m= [m(1:round(.4*Fs))*1 m(round(.4*Fs)+1:round(.7*Fs))*-2 m(round(.7*Fs)+1:Fs)*0];
fi_t =2*pi*Kf*cumtrapz(t,m);%%% use cumtrapz, not cum. Reverse order
u=10*cos(2*pi*Fc*t+fi_t);
plot(t,u); 

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-05-12
    • 2021-04-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多