How to calculate Signal to noise ratio of multiple signals?

4 views (last 30 days)
i have (.dat) file consisting of 24 signals of size 2040*24 and i need to calculate the SNR of each signal. How can i do that? Here is my attached file.

Answers (1)

KSSV
KSSV on 3 Sep 2020
[m,n] = size(data) ; % where data is 2040*24 matrix
S = zeros(n,1) ;
for i = 1:n
S(i) = snr(data(:,i)) ;
end
  1 Comment
LOVKESH SHIVANI
LOVKESH SHIVANI on 3 Sep 2020
thanks. but i am getting negative value of snr among them for several of my signals which is doubtful. Is there anything which can be interpreted with it, beside that noise power is dominant than signal power or communication isnt possible.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!