MATLAB: Calculate the mean amplitude of a signal

signal processing

Calculate the mean amplitude of the entire signal (i.e., by determining the root means squared)
please can someone tell how to compute mean amplitude by determining the root means squared
i did,
Y = rms(X);
next what to do?

Best Answer

That is it. rms() does all of the work.
If this is part of an assignment (which the phrasing suggests to me) then you are probably expected to implement your own code that does what rms() is supposed to do.