How to assign data group from measurement

4 views (last 30 days)
hi guys i am a newbie here in matlab
i am running tire test to determine Miu and Slip and in the end to plot Miu-Slip. The measurement data i get is in .tdms file. i run the test from Slip 0% to 35% but the Slip values are not smooth from 0 to 0,35. so it goes back and forth until reach 0,35. example; Slip 0,4 ; 0,35; 0,36; 0,32; 0,38; 0,42; 0,44; 0,43; 0,45;... and so on till 0,35. When i plot the Mu vs Slip, it looks like not so good and not smooth at all..
i think because the Slip values go back and forth like that. so i wanna ask, how can i group the Slip data and get the mean value for a certain data group; e.g.: every 10 Slip values and get the mean value. maybe the plot would be better.
thanks guys for the help!
  2 Comments
Von Duesenberg
Von Duesenberg on 18 Mar 2018
If your data is in a table, have a look at the findgroups and splitapply functions in the documentation.
Davin Farrell Lukito
Davin Farrell Lukito on 19 Mar 2018
my data is in tdms file, and in workspace, i can see the data is a matrix from 227.000x1

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!