MATLAB: Computing multiple SNR values

MATLABmatrix array

Hello-
I have two matrices (one is called RMS_power and the other is called RMS_noise). Both are 10×500, and I want to compute the SNR values of each row (10 SNR Values)
I know there's a simple function for this as such: snr(RMS_power, RMS_noise) ; but it only gives one value for the whole matrix.

Best Answer

I would suggest you to use a loop and find SNR corresponding to each row of the respective matrices and append the results to generate the desired output.
Thanks!