Can synchronous Sampling be done by Matlab
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi:) I have a tacho signal and a vibration signal and i would like to synchronize both using Matlab´. Any Ideas?
3 commentaires
Jan
le 12 Déc 2012
"I have a signal" is not clear also: Do you have feel the signal, while you sit in the car, or do you have two sensors measring this in real-time, or two file with recorded data and the corresponding times, or one file with two columns?
Réponse acceptée
Ryan G
le 12 Déc 2012
Assuming you have an accurate time related to each signal, you could use the synchronize function with a time series class.
Essentiall you define the data using timeseries:
ts1 = timeseries(data1);
ts2 = timeseries(data2);
And then synchronize:
[ts1 ts2] = synchronize(ts1,ts2,'union');
This may be overly simplistic for what you are trying to do, but you can try it and comment back with what is and is not working more specifically.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Graphics Performance dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!