header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1652 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
d7ea6e3c5c
commit
493fef0059
|
@ -1,7 +1,21 @@
|
|||
% Copyright (C) 2001 Michel Juillard
|
||||
%
|
||||
function a=indnv(x,y)
|
||||
|
||||
% function a=indnv(x,y)
|
||||
% Finds the elements indices of one vector in an other one
|
||||
%
|
||||
% INPUTS
|
||||
% x: column vector
|
||||
% y: column vector
|
||||
%
|
||||
% OUTPUTS
|
||||
% a: vector of elements position of x in y
|
||||
%
|
||||
% SPECIAL REQUIREMENTS
|
||||
% none
|
||||
%
|
||||
% part of DYNARE, copyright Dynare Team (2001-2007)
|
||||
% Gnu Public License.
|
||||
|
||||
a = zeros(size(x)) ;
|
||||
|
||||
for i = 1:size(x,1)
|
||||
|
|
Loading…
Reference in New Issue