Do you have to do this on a single file and to repeat it X times (where X is 
the thousands of file you're speaking) or do you have to calculate the 
deviation and so on) on the X files at the same time ?

Obviously the first case is much easier than the second one .....



-----Message d'origine-----
De : users [mailto:[email protected]] De la part de samaelkreutz
Envoyé : samedi 22 février 2014 00:26
À : [email protected]
Objet : Re: [Scilab-users] finding similar values with scilab

I need compute an iteration , but (obviously I don't know how to do it  =/  ) 
Read thousand of text files... then what I do is check the mean, stand.
deviation, and variation coefficient ( std/mean ). If the variation coefficient 
is <= 0.4, stop the process. If not, eliminate the big value and recalculate 
all the process again.

But i'm lost!!! because Im reading multiple text files and is confusing!!!!! 
Heeelp!!!!  




clc
clear all
z=[]; // genero mi matriz vacia que se ira llenando con el for  for i=103 
//35:2:37// 
     for j=2.6:0.1:3.9//
     DM = fscanfMat(msprintf("new-C1_%d_%3.1f.txt",i,j));
     //disp(i,j)
     med=mean(DM(:,3));
     std=st_deviation(DM(:,3));
     CV=std/abs(med);
     Z=[med std CV CV*100];
     z=[z;Z]; // Matriz con información requerida
     //figure(i);
     //plot(DM(:,1), DM(:,3), 'ro*') 
     end
 end
z




--
View this message in context: 
http://mailinglists.scilab.org/finding-similar-values-with-scilab-tp4028792p4028865.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users


---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce 
que la protection avast! Antivirus est active.
http://www.avast.com

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to