From c6dcc08b9a021fcb7ab4d77cbfc249a1856ad122 Mon Sep 17 00:00:00 2001 From: assia Date: Mon, 28 Jan 2008 14:28:06 +0000 Subject: [PATCH] header updated git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1649 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/ffill.m | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/matlab/ffill.m b/matlab/ffill.m index 10ecea404..40edae2e0 100644 --- a/matlab/ffill.m +++ b/matlab/ffill.m @@ -1,7 +1,25 @@ -% Copyright (C) 2001 Michel Juillard -% function [a,b] = ffill(x,ixc,y) +% function [a,b] = ffill(x,ixc,y) +% Makes the horizontale concatenation if x exists +% and fills the matrix with 0 if x and y are not the same size. +% +% INPUTS +% x: matrix +% ixc: vector of indices +% y: matrix +% +% OUTPUTS +% a: concatenation results +% b: vector +% +% SPECIAL REQUIREMENTS +% none +% +% part of DYNARE, copyright Dynare Team (2001-2008) +% Gnu Public License. + + xc = size(x,1) ; if isempty(y)