Re: [Scilab-users] inserting data into a bigger matrix

2016-10-13 Thread Rafael Guerra
: Re: [Scilab-users] inserting data into a bigger matrix Hello, Assuming input data are stored in I = [0,0,0,1; 10, 0, 3, 1;15, 30, 0, 1;18, 0, 45, 0;36, 57, 28, 0]; there might be also a solution using the “sparse” function: Nb_Dat=size(I); Time= I(:,1); ij=[1+ones(Nb_Dat(2),1).*.Time,(1:Nb_Dat(2

Re: [Scilab-users] inserting data into a bigger matrix

2016-10-12 Thread CRETE Denis
rcredi 12 octobre 2016 14:55 À : Users mailing list for Scilab Objet : Re: [Scilab-users] inserting data into a bigger matrix charming...exactly what I need. 2016-10-12 14:45 GMT+02:00 Rafael Guerra mailto:jrafaelbgue...@hotmail.com>>: Hi Philipp, Does the simple code here below meet the r

Re: [Scilab-users] inserting data into a bigger matrix

2016-10-12 Thread Philipp Mühlmann
> Rafael > > > > *From:* users [mailto:users-boun...@lists.scilab.org] *On Behalf Of *Philipp > Mühlmann > *Sent:* Wednesday, October 12, 2016 2:16 PM > *To:* International users mailing list for Scilab. > > *Subject:* [Scilab-users] inserting data into a bigger matrix >

Re: [Scilab-users] inserting data into a bigger matrix

2016-10-12 Thread Rafael Guerra
eries consisting of floats and constant time-sampling. Regards, Rafael From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of Philipp Mühlmann Sent: Wednesday, October 12, 2016 2:16 PM To: International users mailing list for Scilab. Subject: [Scilab-users] inserting data into a bigger matrix

[Scilab-users] inserting data into a bigger matrix

2016-10-12 Thread Philipp Mühlmann
Dear Scialb users, how to insert time based data into a pre-defined Matrix without using a for-loop? The data points are not equally spaced in time. example: // assuming DATA includes 5 data Points // each dat Point consists of 4 variable // first variable = time //datafile could look like T