prefix.m

来自「一些关于调指和解调的小程序」· M 代码 · 共 12 行

M
12
字号
function out=prefix(input,L)

%%% This function copy the last L points of inputed sequence to the head of this sequence
%%% input---Inputed sequence, and is parallel sequence
%%% L--- The length of cyclic prefix, or the number of cyclic prefix points

K=length(input);

p_out=[input(K-L+1:K)
       input];
 
out=p_out;         %%% The output is also parallel sequence 

⌨️ 快捷键说明

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