MATLAB: How to calculate rms of an audio file rmsstereo audio Having an audio file with unknown number of channels (may be stereo, may be mono), how do I calculate rms of each channel, please? Best Answer Signal = audioread(FileName);RMS = sqrt(mean(Signal.^2, 1)) Related SolutionsMATLAB: RMS amplitude I gave an answer today that required an RMS calculation.http://www.mathworks.com.au/matlabcentral/answers/35658-how-can-i-calculate-the-signal-to-noise-ratio-snr-of-a-signalYou can make a throw-away function for RMS:RMS = @(x) sqrt(mean(x.^2));And then to answer your question:signal = signal / RMS(signal); MATLAB: Error while using melcepst mfcc does not appear to be part of MATLAB. It appears to be a routine from the File Exchange . You will need to download it and install it. Related QuestionRMS-EMG calculate and plotRMS of sampled signalBecause when I cut a stereo audio, this happens to be mono
Best Answer