Hi guys, I have a cell array with 90 cells. Each cell consists of 6 columns and approximately one million rows. Column 1 shows date. Column 2 shows time. Column 3 shows max value. Column 4 shows min value. Column 5 shows closing value. I want to do the following: i want to calculate the average value of max and min of every row in column 3 and 4. For instance, if the max value is 6 and the min value is 2 then the average of the two is 4.
MATLAB: Calculating average from 2 rows
calculation average
Related Question
- How to access data in a cell array
- Finding the min value in a cell array
- Error with number replication in a cell array
- Manipolation of cell array and
- Breaking a column of strings in two different columns
- How to show equality in cell arrays
- If condition with a cell include both number string and text string
- Deleting empty rows in a 3D Cell Array in MatLab
Best Answer