Scilab Function
Last update : 22/8/2006
c_CORRIGE - Function to correct data
Calling Sequence
-
CORRECTED = c_CORRIGE(INPUT,TYPE)
Parameters
-
INPUT
: Data to correct (matrix [Nx1] where N is the number of time steps)
-
TYPE
: Type of correction. If TYPE=1, the negative values are replaced by the last positive value.
-
CORRECTED
: Corrected data (matrix [Nx1])
Description
-
WARNING : This function is written in C language and interfaced with SCILAB (HYDROGR.dll).
-
This function has been designed to correct input data to hydrological models.
Examples
P1 = [rand(10,1); -9.99 * ones(5,1) ; rand(5,1)];
Pm = c_CORRIGE(P1,1);
Authors
-
Julien Lerat
CEMAGREF Antony, HBAN Unit, julien.lerat@cemagref.fr