grab.m

来自「Lattice coding and decoding」· M 代码 · 共 28 行

M
28
字号
function elems = grab(latt,elements)%GRAB Grab desired lattice elements%   P = GRAB(L,PATT) returns desired lattice elements specified via%   pattern in PATT variable.% %   Example:%       pts = 2 ^ 4;%       Z2 = makelatt('Z',pts,2);%       patt = [1:3,5,6,12:16];%       P = grab(Z2,patt);%       showlatt(P,'Style',1); hold on;%       showlatt(Z2,'Labeling','num'); % %   Gives the elements (1,2,3,5,6,12,13,14,15,16) of Z2 lattice.% %   See also SSHELL.%   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>elems = latt(elements,:);

⌨️ 快捷键说明

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