How do I synchronize stress-strain data?

2 次查看(过去 30 天)
I am trying to synchronize my data for a stress-strain curve, which has two different sampling rates and two different start times and one common event that I would like to use as the joining phenomena between these two files.
My load data was taken at 10 Hz and my strain data was taken at 12 Hz, and I am trying to synchronize them to a common event (sample break), which I can't seem to find examples for.
I have converted my csv. files into an array and then into a timetable (it was the method by which I was best able to read all the time values in to the array). When I try to use the synchronize function, I run into a couple problems; the first is the error of rows/vars and the second is not being able to choose two times and tell the system that they are equal.

回答(1 个)

Star Strider
Star Strider 2020-1-22
If you want both of them to have the same sampling frequency, use the resample function on one of them. That will make the process easier (and it may be all you need to do). Depending on what your signals are, the alignsignals function could make aligning them easier. (The documentation does not say when these were introduced. I believe it was in one of the R2016 releases.)

类别

Help CenterFile Exchange 中查找有关 Tables 的更多信息

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by