How to convert the values in the spatial spectrum returned from the MVDREstimator2D to dB ?
4 ビュー (過去 30 日間)
古いコメントを表示
Hello
I am using the Phased Array System Toolbox and more specifically the MVDREstimator2D in order to simulate some MIMO Direction of Arrival scenarios.Using the step function i can get the spatial spectrum as computed by the MVDR algorithm. The values returned from the step function are an array with values from 0 to 1 representing the spatial spectrum and an array containing the calculated DoA of the signals in azimuth and elevation. When i use the plotSpectrum function, i get a graph representing the estimated DoA's in azimuth and elevation, as well as the power in dB. Is there a way that i can convert the spatial spectrum array to an array containing the corresponding values in dB ? For example when i see a peak in some direction with value 0.96 (the value returned from step function),i want to get the corresponding value in dB (-0.30) as seen in the graph.
Thank you for your time
0 件のコメント
採用された回答
Honglei Chen
2016 年 3 月 30 日
You should be able to use mag2dB for this. For example, let's say y is your spatial spectrum, then you can do the following to get the dB value
y_db = mag2db(y);
HTH
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!