Scilab Function
Last update : 25/8/2006

ENTETE - Function to generate a header when printing a matrix with fprintfMat

Calling Sequence

TITLE = ENTETE(TITLECOL,NBCAR)

Parameters

Description

This function is designed to be used with fprintfMat when printing a matrix in a text file.

Examples

    // Matrix
   DATA=rand(10,3);

   // Column title
   TC = ['col1' 'column2' 'c3'];

   // Header
   T = ENTETE(TC,8);

   // Matrix printing 
   Path = \\ to be defined;
   fprintfMat(Path,T,'%8.2f',T);

  

See Also

fprintfMat ,  

Authors

Julien Lerat CEMAGREF Antony, HBAN Unit, julien.lerat@cemagref.fr