I am working on a script to process specific data. But I am stuck because I want to calculate an average based on x-values that I obtained with ginput. The script must be able to be used for different data sets and this means that the number of values on which an average must be calculated can vary. It can vary between 4 and 16 value's. Can someone help me?
MATLAB: Can someone help with this
averagevarying number of values
Related Question
- How can i plot a mathematical expression of x and y
- Using mean function
- I have a series of points in a xy plane representing repetitive movements at a specific time frame. How to find the mean coordinate? Can I simply use: xmean= x1+x2+…+xn/#points and ymean=y1+y2+…/#points or there is a proper Matlab Function
Best Answer