I am working on my own project right now and needing some help now.
What do I want to do?
Matlab should calculate the average out of values for a specific time period.
time (sec) value
If time is >0 and smaller or equal to 3 sec Matlab should calculate the arithmetic average of the values.
So basically something like this:
Do arithmetic average of value
So the result should be (2+3+4+6 )/4 =3,75.
It is my first project with MatLab and I am usually working with other programms.
Thanks for your help.