MATLAB关于产生线性调频信号的问题t=10e-6; %线性调频信号时间长度 fs=40e6; %采样频率ts=1/fs;fc=9e6; %线性调频的起始频率f0=10e6; %本振信号的中心频率B=2e6; %线性调频信号调频带宽ft=0:1/fs:t-1/fs; %调
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 21:45:16
MATLAB关于产生线性调频信号的问题t=10e-6; %线性调频信号时间长度 fs=40e6; %采样频率ts=1/fs;fc=9e6; %线性调频的起始频率f0=10e6; %本振信号的中心频率B=2e6; %线性调频信号调频带宽ft=0:1/fs:t-1/fs; %调
MATLAB关于产生线性调频信号的问题
t=10e-6; %线性调频信号时间长度
fs=40e6; %采样频率
ts=1/fs;
fc=9e6; %线性调频的起始频率
f0=10e6; %本振信号的中心频率
B=2e6; %线性调频信号调频带宽
ft=0:1/fs:t-1/fs; %调制信号,对于线性调频来说,调制信号就是时间序列
N=length(ft);
k=B/fs*2*pi/max(ft); %计算调制灵敏度
x1=modulate(ft,fc,fs,'fm',k);
最后的那句是什么意思,modulate函数的用法及个参数意思~
MATLAB关于产生线性调频信号的问题t=10e-6; %线性调频信号时间长度 fs=40e6; %采样频率ts=1/fs;fc=9e6; %线性调频的起始频率f0=10e6; %本振信号的中心频率B=2e6; %线性调频信号调频带宽ft=0:1/fs:t-1/fs; %调
楼主要学会用MATLAB的help命令啊:
help modulate
MODULATE Signal modulation for communications simulations.
Y = MODULATE(X,Fc,Fs,METHOD,OPT) modulates the message signal X with a
carrier frequency Fc and sampling frequency Fs,using the modulation
scheme in METHOD.OPT is an extra sometimes optional parameter whose
purpose depends on the modulation scheme you choose.
Fs must satisfy Fs > 2*Fc + BW,where BW is the bandwidth of the
modulated signal.
METHOD MODULATION SCHEME
'am',Amplitude modulation,double side-band,suppressed carrier
'amdsb-sc' OPT not used.
'amdsb-tc' Amplitude modulation,double side-band,transmitted carrier
OPT is a scalar which is subtracted from X prior to
multiplication by the carrier cosine.It defaults to
min(min(X)) so the offset message signal is positive and
has a minimum value of zero.
'amssb' Amplitude modulation,single side-band
OPT not used.
'fm' Frequency modulation
OPT is a scalar which specifies the constant of frequency
modulation kf.kf = (Fc/Fs)*2*pi/max(max(abs(X))) by
default for a maximum frequency excursion of Fc Hertz.
'pm' Phase modulation
OPT is a scalar which specifies the constant of phase
modulation kp.kp = pi/max(max(abs(x))) by default for a
maximum phase excursion of +/-pi radians.
'pwm' Pulse width modulation
If you let OPT = 'centered',the pulses are centered on the
carrier period rather than being "left justified".
'ppm' Pulse position modulation
OPT is a scalar between 0 and 1 which specifies the pulse
width in fractions of the carrier period.It defaults to .1.
'qam' Quadrature amplitude modulation
OPT is a matrix the same size as X which is modulated in
quadrature with X.
If X is a matrix,its columns are modulated.
[Y,T] = MODULATE(...) returns a time vector the same length as Y.