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

📄 compoversamp2.m

📁 The source codes are from the "Simulation and software Radio for mobile communication" It contain th
💻 M
字号:
% Program 5-9
% compoversamp2.m
%
% Function to sample "sample" time
%
% programmed by H.Harada and M.Okita
%

function [iout,qout] = compoversamp2(iin, qin, sample)

% *************************************************************
% iin     : input Ich sequence
% qin     : input Qch sequence
% iout    : ich output data sequence
% qout    : qch output data sequence
% sample  : Number of oversamples
% *************************************************************

[h,v] = size(iin);

iout = zeros(h,v*sample);
qout = zeros(h,v*sample);

iout(:,1:sample:1+sample*(v-1)) = iin;
qout(:,1:sample:1+sample*(v-1)) = qin;

%******************************** end of file ********************************

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -