?? carrier.m
字號:
function [spb]=carrier(sbb,fc,fs,T)% [spb]=carrier(sbb,fc,fs,T)%% Output:% spb - Passband signal% % Input:% sbb - Baseband signal% fc - Carrierfrequency% fs - Samplingfrequency% T - Symboltime%% Short Theoretical Background for the Function:%% Multiplys the baseband signal, sbb, with a sinusoidal function % to get a passband signal centered around the carrier frequency, fc.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% Function part of simulation for Space-Time%%% coding project, group Grey-2001.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Author: Fredrik Hansson % Date: 2001-03-19% Version: 1.0% Revision (Name & Date):%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%oversamp = fs*T;t = 0:T/oversamp:(length(sbb)*T-T)/oversamp; %time-scalespb = sbb.*cos(2*pi*fc*t);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -