MATLAB Answers

0

phased array mag2db

Asked by Matthew Anderson on 2 Aug 2019
Latest activity Answered by 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.

  0 Comments

Sign in to comment.

1 Answer

Honglei Chen
Answer by Honglei Chen
on 2 Aug 2019

Thanks for the suggestion, we will look into this.

  0 Comments

Sign in to comment.