From 493fef0059d7e05221cff279673303c73b11c627 Mon Sep 17 00:00:00 2001 From: assia Date: Mon, 28 Jan 2008 14:37:50 +0000 Subject: [PATCH] header updated git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1652 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/indnv.m | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/matlab/indnv.m b/matlab/indnv.m index 11cfef45f..df4b18a67 100644 --- a/matlab/indnv.m +++ b/matlab/indnv.m @@ -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)