Hi,
I want to average a portion of data from a speadsheet everytime a condition is met, the condition is that every time a 0 appears on the 'velocity' and 'displacement' column, I want to get the average of the data below it up until to the next 0 value. Is it possible to do it in matlab to save time because doing it manually on excel takes a lot of time. Help is really appreciated.
Attached here is an image and and the excel file for reference
Best Answer