Please, How do I determine the Mean Absolute Value (MAD) of an acoustic signal, which has positive and negative data points?
Is it possible to dermine it straightforward with this code:
I came across, this code which I modified with my signal. My signal length is 13,230,000 data point, fs = 44100, time 300 sec.
xrec = S_ff_1500W_data3_50;
seg = xrec(1:A);
seg = seg/max(abs(seg));
MAV = mean(abs(seg(1:A)))
Please, any explanation?