📄 grab.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -