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

📄 cluster.m

📁 Lattice coding and decoding
💻 M
字号:
function packed = cluster(pattern,times,clst_length)%CLUSTER Pack set of entries to the cluster.%  Y = CLUSTER(X,T,L) maps each element of X to a subset of length stored%  in L and repeats created pattern T-times. X must be a column vector.%%  Example:%       x = [1:3]'%       y = cluster(x,2,3)%%  See also BLUR, SPAN.%   Copyright 2001-2003 Kamil Anis, anisk@feld.cvut.cz%   Dept. of Radioelectronics, %   Faculty of Electrical Engineering%   Czech Technical University in Prague%   $Revision: 0.1 $  $Date: 2003/1/16 17:33:28 $%   --%   <additional stuff goes here>l = length(pattern);n = 1:times;block = l * clst_length;series = block * n - block + 1;for i = 1:l  mapto = series + (i - 1) * clst_length;  pos = blur(mapto',clst_length,1);  packed(pos,1) = pattern(i);end

⌨️ 快捷键说明

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