How to normalize the data?

7 ビュー (過去 30 日間)
Ara
Ara 2013 年 3 月 14 日
コメント済み: Ara 2014 年 6 月 14 日
Hi Everybody,
I have to normalize this data to 0 to have signal intensity in dB. I do not know how to write the code and then plot it.Could you please help me?
L1 CNo (dB-Hz)
55.15
45.59
45
45.33
53.91
41.5
51.1
47.1
48.04
56
46.68
45.31
45.54
54.67
42.23
51.28
48.23
48.01
55.76
  2 件のコメント
Sifiso
Sifiso 2014 年 6 月 13 日
編集済み: Sifiso 2014 年 6 月 13 日
Why don't you first normalize the data as is in absolute units, such that your maximum value from your data will now have maximum value = 1. And the rest will be a fraction of 1. i.e Norm_abs = abs( L1 CNo)./max(abs(L1 CNo))
Then you may convert this to dB. 10*log (Norm_abs). All will now be relative to 0 dB and lie below 0dB.
Ara
Ara 2014 年 6 月 14 日
Thank you very much for your useful suggestion.

サインインしてコメントする。

回答 (1 件)

Honglei Chen
Honglei Chen 2013 年 3 月 14 日
編集済み: Honglei Chen 2013 年 3 月 14 日
If I understand you correctly, say your data is x, you basically want
10*log10(x/max(x))
However, it also looks like your data is already in dB since in the first row it says dB-Hz. In this case, if you want to normalize to 0 dB, you should do
x-max(x)
  2 件のコメント
Ara
Ara 2013 年 3 月 14 日
編集済み: Ara 2013 年 3 月 14 日
Thanks for your help. Here is the link that show the plot I wish. http://www.sendspace.com/file/78hxof Your code is good but still not set to zero. I tried
x-max(x)
but still not set to zero, actually I want to see the fluctuation by normalize "x" to 0.
Jan
Jan 2013 年 3 月 14 日
What should be set to zero?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSignal Processing Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by