[Scilab-users] How replace symbols and letters in a matrix

2013-01-09 Thread constantina
Hello everyone (first of all, sorry 4 my poor english), im newbie in scilab. Im trying to process data, it includes a header and a matrix with numbers, letters and symbols. I used Data=fscanfMat(flist(file)) to read the matrix without the header; but i can read only the first line (and till the 8

Re: [Scilab-users] How replace symbols and letters in a matrix

2013-01-10 Thread constantina
i)=d(2,ii); end; rep=x_choose(dflist,'Select your file'); In this part the program fails *t=mgetl('rep'); t=strsubst(strsubst(t," *" ," 0 ")," S "," 0 ") mputl(t,'rep') Data=fscanfMat('rep') * If you could

Re: [Scilab-users] How replace symbols and letters in a matrix

2013-01-11 Thread constantina
Thank u so much again. It worked perfect -- View this message in context: http://mailinglists.scilab.org/How-replace-symbols-and-letters-in-a-matrix-tp4025637p4025655.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. __

[Scilab-users] Peaks and positions

2013-01-26 Thread constantina
Sorry, I know is a basic question, i now the answer in matlab but not in scilab What is the function that let me find "peaks " in a matrix and the position of the peaks??? Thankss!!! -- View this message in context: http://mailinglists.scilab.org/Peaks-and-positions-tp4025764.html Sent fr

Re: [Scilab-users] Peaks and positions

2013-01-27 Thread constantina
thank uso much!!! it helped me alot :) -- View this message in context: http://mailinglists.scilab.org/Peaks-and-positions-tp4025764p4025782.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ users mailin

Re: [Scilab-users] Peaks and positions

2013-01-28 Thread constantina
If I have a vector , por example M= rand(418,1) , how can I implement the same procediment?? -- View this message in context: http://mailinglists.scilab.org/Peaks-and-positions-tp4025764p4025799.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _

Re: [Scilab-users] Peaks and positions

2013-01-28 Thread constantina
yes, you're right, the correct word is "spike". My problem consist: a matrix like [v,k1,k2], the first letter is "time", k1 and k2 are "values" of a time series. So... if I plot the values, Im gonna find "spikes" that means "errors, happens the same with "zero" values... I have to eliminate the w

Re: [Scilab-users] Peaks and positions

2013-01-31 Thread constantina
Hi guys, this my problem data... if I plot one column of data I obtain the first plot, and similar case with the second plot... as you can see, theres two horribles "spikes" in the first plot... and I tried elimite them..

Re: [Scilab-users] Peaks and positions

2013-01-31 Thread constantina
Hi guys, this my problem data... if I plot one column of data I obtain the first plot, and similar case with the second plot... as you can see, theres two horribles "spikes" in the first plot... and I tried elimite them..

Re: [Scilab-users] Peaks and positions

2013-01-31 Thread constantina
Hi guys, this my problem data... if I plot one column of data I obtain the first plot, and similar case with the second plot... as you can see, theres two horribles "spikes" in the first plot... and I tried elimite them..

Re: [Scilab-users] Peaks and positions

2013-01-31 Thread constantina
// //DB: BASE DATA --> DB(:,1)= time DBF(:,2)=data [nT] //DM: MOVIL DATA --> DM(:,4)=data nT ; DMF(:,9)=time // //"crossover" // //Buscamos los valores en que ambos registros tienen la misma hora [v,k1,k2]=intersect(DM(:,9), DB(:,1)); //So the data [nT] // // movil nTM=DM(k1,4) ; //base nTB=DB(k