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

📄 setident.m

📁 The pattern recognition matlab toolbox
💻 M
字号:
%SETIDENT Set object identifiers%%   A = SETIDENT(A,IDENT,FIELD,N)%% INPUT%   A      Dataset%   IDENT  Object identifiers, size (N,K)%   FIELD  Desired field, default 'IDENT'.%   N      Vector of indices of objects to be updated (optional; default: all)%% OUTPUT%   A      Updated dataset%% DESCRIPTION% Set or reset the subfield FIELD of the ident field of A by IDENT.% IDENT should be an array of size (N,K), with arbitrary K. %% Note the ident field of datasets was originally intended for an% identification of the individual objects. Later its usage was extended % to a field for storing general information on objects. For that reason 'old'% datasets without a structure in the ident field are transformed such that% this information is stored in a subfield IDENT in the ident field. It can% be retrieved by GETIDENT(A,'IDENT').%% The default FIELD is 'IDENT'. To reset the entire IDENT give% A = SETIDENT(A,IDENT,''), in which IDENT is a structure array of the% right size and with a subfield named also IDENT.%% The new structure is checked or created by A = SETIDENT(A);%% Note also that for reasons of backward compatibility the parameter order% of the SETIDENT command differs from similar Matlab commands like% SETFIELD: first field content, then field name.

⌨️ 快捷键说明

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