%demo of chirp signal
T=10e-6; %脉冲宽度
B=30e6; %频率调制带宽
K=B/T; %斜率
Fs=64e6;Ts=1/Fs; %采样率
N=T/Ts;
t=linspace(-T/2,T/2,N);
St=exp(j*pi*K*t.^2); %信号产生
subplot(211)
plot(t*1e6,real(St));
xlabel('us');
title('线性调频时域');
grid on;axis tight;
subplot(212)
freq=linspace(-Fs/2,Fs/2,N);
plot(freq*1e-6,fftshift(abs(fft(St))));
xlabel('MHz');
title('线性调频频域');
grid on;axis tight;
以上程序能顺利运行,但是载频是0MHZ,求问如何在程序上改动以满足载频240MHZ的要求?