[Scilab-users] Help with reading data (csvRead)

Claus Futtrup cfuttrup at gmail.com
Sat Dec 10 17:05:16 CET 2016


Hi Samuel

OK, I trust it's just a matter of how the Mread matrix is displayed.

/Claus

On 10-12-2016 16:41, Samuel Gougeon wrote:
> Le 10/12/2016 16:18, Claus Futtrup a écrit :
>> Hi Samuel
>>
>> Indeed it looks simpler than using csvRead, I will look into this 
>> function as well. It looks like it cuts off some of the decimals.
>
> Very unlikely. At least not a single one for the full file you sent to me:
> f = mgetl(filename);
> f(1:5) = [];
> s = sprintf("%9.3f %+10.4f %+10.4f  \n",Mread);
> and(f==s)
>
> -->f = mgetl(filename);
> -->f(1:5) = [];
> -->s = sprintf("%9.3f %+10.4f %+10.4f  \n",Mread);
> -->and(f==s)
>  ans  =
>   T
>
> Trailing zeros are not displayed in the console. This can be 
> misleading (and is unconvenient), but actual values are ok.
>
> Samuel
>
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20161210/e2157033/attachment.htm>


More information about the users mailing list