Calculate mean and standard deviation in MATLAB for drag coefficient comparison

2 replies · 2K views · last reply
jeeloong
Messages
12
Reaction score
0
Dear Experts!

I currently have a sets of data with different time interval and I plotted it into MATLAB from excel. Is there a way for me export the files or calculate the mean, standard deviation etc so that I can calculate error etc. It would be great if I could do it in Matlab.

I am try to to get the mean because I need a stable average to compared the drag coefficient of swim cap and swim cap with superhydrophobic solution. The difference will be marginally small I "predicted"

Thanks
 
Attachments
  • MATLAB line graph titled 'Graph of acceleration versus time for experiment (6)', with five coloured curves labelled data 1 to data 5 plotted from 0 to about 1 s, rising to about 3.3 m/s² then falling.
    StableAvg.jpg
    14.5 KB · Views: 655
For what it's worth, there are also the Matlab commands "xlswrite" and "xlsread" that write/read data to Excel.