[Bugzilla] [Bug 5047] Samuel GOUGEON has changed bug_file_loc, cc, component

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Fri Mar 23 19:08:03 CET 2018


http://bugzilla.scilab.org/show_bug.cgi?id=5047
--------- Bug Summary -----------
Output looks like that: MEAN               MEDIAN      SAMPLE VARIANCE 0.741

---------- Changed by ------------
sgougeon at free.fr

---------- What changed ----------
bug_file_loc, cc, component


Samuel GOUGEON <sgougeon at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|function [] =               |
                   |save_string_matrix(filename |
                   |,matrix_string)
            |
                   |  //  filename: Dateiname   |
                   |unter dem die String Matrix |
                   |abgespeichert werden soll.
 |
                   |  //  matrix_string:        |
                   |Inputmatrix als Textstring
 |
                   |  //Open file for writing
  |
                   |    fd =                    |
                   |mopen(filename,'w');
       |
                   |  //Size of the input table |
                   |                            |
                   |                            |
                   |[nrows,ncols]=size(matrix_s |
                   |tring);
                    |
                   |  //Loop
                   |
                   |    for i=1:nrows;
         |
                   |      for j=1:ncols;
       |
                   |        //Reiht die         |
                   |Matrixelemente aneinander.  |
                   |(%20s\t)
                   |
                   |          if (j<>ncols)     |
                   |then                        |
                   |mfprintf(fd,'%20s\t',matrix |
                   |_string(i,j)); end; 
       |
                   |        //Nach einem        |
                   |Matrixelement der letzten   |
                   |Spalte wird ein Absatz      |
                   |eingefügt. (%20s\n)
        |
                   |          if (j==ncols)     |
                   |then                        |
                   |mfprintf(fd,'%20s\n',matrix |
                   |_string(i,j)); end;
        |
                   |      end;
                 |
                   |    end;
                   |
                   |    mclose(fd);
            |
                   |  endfunction               |
                 CC|                            |michael.baudin at contrib.scil
                   |                            |ab.org
          Component|Scilab                      |Statistics

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180323/74594cb4/attachment.htm>


More information about the Bugzilla mailing list