phased array mag2db

7 views (last 30 days)
Matthew Anderson
Matthew Anderson on 2 Aug 2019
Answered: Honglei Chen on 2 Aug 2019
In line 771 of phased.CustomAntennaElement there is a call to mag2db function within the saveObjectImpl method which is preceded by the following comment:
% starting from R2013a, we save linear scale pattern in
% pRadiationPattern to improve the performance, avoiding doing
% db conversion all the time. However, to avoid backwards
% compatibility issue, we will save pRadiationPattern always as
% dB and then convert it to linear scale when it gets loaded.
This desire to be backwards compatible results in a call that ends up being very expensive in terms of the time. It would be nice if we could avoid this.

Answers (1)

Honglei Chen
Honglei Chen on 2 Aug 2019
Thanks for the suggestion, we will look into this.

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!