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

📄 fvec2cell.m

📁 轨迹聚类工具箱及其相关说明和文章(台风路径分类等)。如有问题可与wyljess@126.com联系
💻 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 + -