header updated

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1652 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
assia 2008-01-28 14:37:50 +00:00
parent d7ea6e3c5c
commit 493fef0059
1 changed files with 16 additions and 2 deletions

View File

@ -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)