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

📄 cp0804_signalshift.m

📁 < 超宽带无线电基础>>的第八章原代码,主要用于超宽带无线电信号波形的产生信道估计扩频通信等等,内容非常丰富.
💻 M
字号:
%
% Function 8.14: "cp0804_signalshift"
%
% Applies a circular shift of 't' seconds
% to the input vector 'in'
%
% Programmed by Guerino Giancola
%

function [out] = cp0804_signalshift(in,fc,t)

% ------------------------------------
% Step One - Shifting the input signal
% ------------------------------------

dt = 1 / fc;            % sampling period

% shift samples
ss = mod(floor(t/dt),length(in));
out = in([end-ss+1:end 1:end-ss]);

⌨️ 快捷键说明

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