Re: [Scilab-users] Read file (.txt)

2020-09-11 Thread Daniel Stringari
Good evening everyone, I appreciate everyone's availability. Great solutions! -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing list users@lists.scilab.org

[Scilab-users] Read file (.txt)

2020-09-09 Thread Daniel Stringari
Good evening everyone, I'm integrating scilab with other software, so I need to read an output file (.txt), like the one attached (output). It is worth mentioning that this file does not always have the same dimensions (matrix), so I am trying to find something robust that can deal with this

Re: [Scilab-users] CsvRead function

2020-05-13 Thread Daniel Stringari
Good Morning, I'll post snippets of the code in question. Thanks for the effort Jan, the detail is that no matter how much the file exists when the code is run, the same file is deleted at the beginning by the MDELETE function, afterwards the code itself tries to create it again. This happens

Re: [Scilab-users] CsvRead function

2020-05-12 Thread Daniel Stringari
upgrading to version 6.1, it started to give an error with the code identical to the previous version, so my first suspicion was in relation to the mentioned functions. On Mon, May 11, 2020 at 6:55 AM Stéphane Mottelet wrote: > Hi > > Le 11/05/2020 à 11:45, Daniel Stringari a écrit :

[Scilab-users] CsvRead function

2020-05-11 Thread Daniel Stringari
Dear colleagues, I am using a code in the version of Scilab 6.1 that was made in version Scilab 6.0.2. However, the same code that works in version 6.0.2, gives an error when executed in version 6.1. The function pointed on the error screen is always 'csvRead'.

Re: [Scilab-users] Efficiency map

2020-04-14 Thread Daniel Stringari
The curve I have so far is summarized in the attachment below. -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing list

Re: [Scilab-users] Efficiency map

2020-04-14 Thread Daniel Stringari
The curve I would like to plot is similar to the one attached. There are several efficiency curves within a SPEEDxTORQUE chart. My problem comes down to a spreadsheet generated by external software where I have three columns: SPEED, TORQUE and EFFICIENCY. The data is all broken and so I have to

Re: [Scilab-users] spline and color plot on the chart

2020-04-11 Thread Daniel Stringari
eed to interpolate with spline or lsg_splin. > > Regards, > > Federico Miyara > > > On 10/04/2020 21:05, Daniel Stringari wrote: > > Federico, > > I appreciate the help. Below is a list of the code on which I try to plot > the data with Isq_splin: > > c =

Re: [Scilab-users] spline and color plot on the chart

2020-04-10 Thread Daniel Stringari
gt; Then you approximate x vs 1:n and y vs 1:n using spline or lsq_splin. > Finally you plot xs vs ys (the smoothed versions of x and y) > > Regards, > > Federico Miyara > > > On 07/04/2020 22:48, Daniel Stringari wrote: > > Good night friends, > I wrote an email b

[Scilab-users] spline and color plot on the chart

2020-04-07 Thread Daniel Stringari
Good night friends, I wrote an email before, but I believe that I was not clear in my words and so I will write more clearly. In this annex 1, I have the graph I am generating. Basically I am extracting values of x (speed) and y (torque) from excel and generating vectors of x [] and y [] to plot

[Scilab-users] Efficiency map

2020-04-06 Thread Daniel Stringari
Dear friends, I'm still a layman at SCILAB, but I'm using SCILAB this week to be able to plot an efficiency map through a routine I created on it. Basically the efficiency map is summarized in* annex 1_0 and annex 1_1*(I took it from the internet to exemplify the problem), where through a TORQUE