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.

回答(1 个)

Honglei Chen
Honglei Chen 2019-8-2

0 个投票

Thanks for the suggestion, we will look into this.

类别

在 帮助中心 和 File Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by