[Scilab-users] Reading single column data for processing

Lester Anderson arctica1963 at gmail.com
Fri Apr 25 18:01:19 CEST 2014


A quick query.

Been a while since I have used Scilab now, but I need to read in a column
data set and process this, and then write out the results as the input
column plus the computed value.

Have an array of the form:

1.0
2.0
3.0
.
.
.
.
.
value(n)

e.g.

read (input.txt) --> array(z) i.e. read all values in the file from 1 to n
(end of file)

y=function * array(z)
write (output.txt)  --> write 2 column result (input value, computed value)

Things have changed a bit in 5.5.0

Cheers

Lester
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20140425/545bb021/attachment.htm>


More information about the users mailing list