How to assign data group from measurement
4 views (last 30 days)
Show older comments
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
on 18 Mar 2018
If your data is in a table, have a look at the findgroups and splitapply functions in the documentation.
Answers (0)
See Also
Categories
Find more on Test and Measurement in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!