[Scilab-users] Peaks and positions

constantina geofyss at gmail.com
Thu Jan 31 18:45:17 CET 2013


//
//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(k2,2) ;
//========================================================================================
// 
time=v';
M=[ nTM nTB ];
//
//PLOTS
subplot(221)
plot(v',M(:,1))
title('Movile data')
subplot(222)
plot(v',M(:,2))
title('Base station data')
//
//
---------------------------------------------------------------------------------------------
//As you can see, theres "spikes" in the data. My mission is identify the
values of the spikes
(values are in nTM) in the movile data and their position (DB(:,1),DB(:,2)
(latitude, longitude) )
and if is posible show in the plot , "here theres a spike" 
base040712_112.raw.TXT
<http://mailinglists.scilab.org/file/n4025853/base040712_112.raw.TXT>  
movil040712_231.raw.TXT
<http://mailinglists.scilab.org/file/n4025853/movil040712_231.raw.TXT>  



--
View this message in context: http://mailinglists.scilab.org/Peaks-and-positions-tp4025764p4025853.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list