cvecrep.m

来自「Unscented Kalman Filter」· M 代码 · 共 32 行

M
32
字号
function m = cvecrep(v,c)% CVECREP  Column vector replicate%%   M = cvecrep(V, C) Replicates a Nx1 dimensional column vector V, C times to generate a%   NxC dimensional matrix M.%%   See also%   RVECREP, REPMAT%   Copyright  (c) Rudolph van der Merwe (2002)%%   This file is part of the ReBEL Toolkit. The ReBEL Toolkit is available free for%   academic use only (see included license file) and can be obtained by contacting%   rvdmerwe@ece.ogi.edu.  Businesses wishing to obtain a copy of the software should%   contact ericwan@ece.ogi.edu for commercial licensing information.%%   See LICENSE (which should be part of the main toolkit distribution) for more%   detail.%=============================================================================================if isempty(v)  m = zeros(0,c);else  m = v(:,ones(c,1));end

⌨️ 快捷键说明

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