<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#330000">
    <div class="moz-cite-prefix">You can also have a look at
      <div class="refsynopsisdiv">
        <div class="synopsis">
          <pre><span class="functionid">help csv_read</span><span class="default"></span></pre>
        </div>
      </div>
      which as an optional argument "<span class="default">substitute"
        designes for these type of cases I believe<br>
      </span>
      <div class="refsynopsisdiv">
        <div class="synopsis"> </div>
      </div>
      <br>
      <br>
      On 10/01/2013 09:30, Serge Steer wrote:<br>
    </div>
    <blockquote cite="mid:50EE7C1A.7070400@inria.fr" type="cite">You can
      substitute the "*" using Scilab
      <br>
      t=mgetl('your file');
      <br>
      t=strsubst(strsubst(t," *" ," 0 ")," S "," 0 ")
      <br>
      Le 09/01/2013 22:35, constantina a écrit :
      <br>
      mputl(t,'your file')
      <br>
      <br>
      Serge Steer
      <br>
      <blockquote type="cite">Hello everyone (first of all, sorry 4 my
        poor english), im newbie in scilab.
        <br>
        Im trying to process data, it includes a header and a matrix
        with numbers,
        <br>
        letters and symbols.  I used Data=fscanfMat(flist(file)) to read
        the matrix
        <br>
        without the header; but i can read only the first line (and till
        the 8
        <br>
        column) then I obtain zeros... i have problems with the symbol *
        and the
        <br>
        letter S. I cant use linux for replace the caracters...  The
        form of the
        <br>
        data is:
        <br>
        <br>
        /Gem Systems GSM-19W 2065231 v7.0 12 IX 2011 M ew3fl.v7o
        <br>
        /ID 1 file 02survey.wm 04 VII12
        <br>
        /
        <br>
        /X Y elevation nT sq cor-nT sat time picket-x picket-y
        <br>
        line 000000
        <br>
        0369875.71 7435000.99 000780 23623.80 99 000000.00 08 S 141058.0
        0 0
        <br>
        0369875.71 7435000.99 000780 23623.91 99 000000.00 08 S 141058.5
        * *
        <br>
        0369875.71 7435000.99 000780 23623.60 99 000000.00 08 S 141059.0
        * *
        <br>
        0369875.71 7435000.99 000780 23623.01 99 000000.00 08 S 141059.5
        * *
        <br>
        0369875.71 7435000.99 000780 23623.99 99 000000.00 08 S 141100.0
        * *
        <br>
        <br>
        I have to replace the S and * for a zero
        <br>
        How can I do it???
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        --
        <br>
        View this message in context:
<a class="moz-txt-link-freetext" href="http://mailinglists.scilab.org/How-replace-symbols-and-letters-in-a-matrix-tp4025637.html">http://mailinglists.scilab.org/How-replace-symbols-and-letters-in-a-matrix-tp4025637.html</a><br>
        Sent from the Scilab users - Mailing Lists Archives mailing list
        archive at Nabble.com.
        <br>
        _______________________________________________
        <br>
        users mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
        <br>
        <a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
        <br>
        <br>
      </blockquote>
      <br>
      _______________________________________________
      <br>
      users mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
      <br>
    </blockquote>
    <br>
  </body>
</html>