Hello,
I have plotted a graph in a Simulink model. I would like to calculate the mean value for the numbers greater than 0. How can I use trapz in this case?
Or maybe there is some other method.
Regards.
I have plotted a graph in a Simulink model. I would like to calculate the mean value for the numbers greater than 0. How can I use trapz in this case?
Or maybe there is some other method.
Regards.