Re: [Scilab-users] Vectorial form of fprintf

2013-03-05 Thread A. Vogt-Schilb
Hi, Try csvWrite and its options. Sent from my phone samuel.en...@unn.edu.ng wrote: >Dear sirs, > >Is there a vectorial form of any variant of fprintf function?I would like to >print a matrix of numbers to a specific numbwr of decimal palces. > >Thanks for your kind assistance. > >Sent from

[Scilab-users] Vectorial form of fprintf

2013-03-04 Thread samuel.en...@unn.edu.ng
Dear sirs, Is there a vectorial form of any variant of fprintf function?I would like to print a matrix of numbers to a specific numbwr of decimal palces. Thanks for your kind assistance. Sent from my Nokia phone ___ users mailing list users@lists.scil

[Scilab-users] Vectorial form of fprintf

2013-03-04 Thread samuel.en...@unn.edu.ng
Dear sirs, Is there a vectorial form of any variant of fprintf function?I would like to print a matrix of numbers to a specific numbwr of decimal palces. Thanks for your kind assistance. Sent from my Nokia phone ___ users mailing list users@lists.scil

Re: [Scilab-users] Vectorial form of fprintf Function

2013-03-04 Thread Calixte Denizet
Hi Samuel, You could try something like: c = (1:10)'; fd=mopen("/tmp/foo.bar"); mfprintf(fd, "%5.3f\n", c); mclose(fd); If you need to print a matrix you can do A=rand(3,4); fd=mopen("/tmp/bar.foo","wt"); mfprintf(fd, "%5.3f %5.3f %5.3f %5.3f\n",A) mclose(fd); Best regards Calixte On 04/03/20

[Scilab-users] Vectorial form of fprintf Function

2013-03-04 Thread Samuel Enibe
Dear Sir, I would like to print a given column in a matrix with a specific number of decimal places. The *format* function does not give the same number of decimal places for columns containing data of varying length. On the other hand, *fprintf* and the like appear suitable for single float at a