📄 fvec2cell.m
字号:
function trajs = fvec2cell(y)
%FVec2CELL Convert curves in feature vector format to Cell format
% TRAJS = FVec2CELL(Y) converts the n feature vectors in the n-by-m-by-D
% matrix y into a cell array of trajectories.
%
% Scott J Gaffney 06 June 2002
% Department of Information and Computer Science
% University of California, Irvine.
%
PROGNAME = 'FVec2cell';
if (~nargin)
try; help(PROGNAME); catch; end
return;
end
[n,m,D] = size(y);
for i=1:n
trajs{i,1} = permute(y(i,:,:),[2 3 1]);end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -