Hello Christophe,

Regarding noise, I have the feeling that "lsq_splin" can do a better job than 
interp1, which just interpolates linearly in its default operation. However, 
"smooth" might be the best choice for this task.

Regarding "intersect", I considered that the data provided were representative 
of the case study, and taking into account only EXACT correspondence would - in 
this particular case - not miss any data.

Cdlt
Denis
PS: last line should have been:
disp([v',Temp1,Temp2,Temp2-(Temp1-mean(Temp1))]); 

-----Message d'origine-----
De : users-boun...@lists.scilab.org [mailto:users-boun...@lists.scilab.org] De 
la part de Dang, Christophe
Envoyé : vendredi 11 janvier 2013 17:07
À : International users mailing list for Scilab.
Objet : Re: [Scilab-users] "Re-sampling" data and making 2 vectors

Hello Denis

> intersect(Data1(:,1))

with this solution, you loose the information.

> It is also possible to interpolate the values of Data2 for the time 
> values in Data1(:,1) with interp1

I'm not familiar with this function, and have a question about the way it 
works. I have the feeling that it creates polynomial arcs (splines) that goes 
through all the data points, am I right?

If yes, then it is sensitive to noise.

Is there a function that does a smoothing on several data points so you can 
reduce the noise?

Best regards

--
Christophe Dang Ngoc Chan
Mechanical calculation engineer


This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error), please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.


_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to