⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 carrier.m

📁 这个程序主要是实现空时编码的matlab编解码仿真。
💻 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 + -