How do I synchronize stress-strain data?

3 views (last 30 days)
Allison Podnar
Allison Podnar on 22 Jan 2020
Answered: Star Strider on 22 Jan 2020
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.

Answers (1)

Star Strider
Star Strider on 22 Jan 2020
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.)

Categories

Find more on Tables in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!