How to use antenna toolbox with a measured antenna ?
10 views (last 30 days)
Show older comments
Hello !
I am trying to plot an antenna pattern from in situ real measurements of an antenna. My measurements comprise X, Y Z in m and the measured attenuation in dB.
After conversion into azimuth and elevation, unfortunately, this does not seem compatible with either measuredAntenna or patterncustom.
With patterncustom I get the following error :
Error filling holes for shared_channel:patternCustom:RepeatedPoints.
Floating point numbers are not allowed as holes. They should be
converted to character vectors.
With measured antenna, MagE I do not have, as I only have the measured attenuation...
Anyway to get my antenna plots (3D and sections) from my measurements ?
Thanks in advance,
Kindly,
4 Comments
Ganapathi Subramanian R
on 9 May 2024
Hi Felix,
According to recent MATLAB documentation, the 'patternCustom' function requires antenna directivity, E-fields, H-fields, or power of an antenna or array as input for 'magE' parameter . I suggest you to transform the attentuation data into directivity by finding a correlation between the observed attentuation and directivity.
For further information regarding 'patternCustom' function, please refer to the below documentation.
Answers (1)
Pooja Kumari
on 9 May 2024
Hi Felix,
I unserstand you are trying to plot an antenna pattern from in situ real measurements of an antenna. You are facing "Error filling holes for shared_channel:patternCustom:RepeatedPoints.Floating point numbers are not allowed as holes. They should be converted to character vectors." error using Pattern Custom function.
If you have attenuation in dB (Attenuation), you can convert it to a relative magnitude scale by assuming that the attenuation is relative to the maximum signal strength you measured or a known reference.
I think the error will be resolved when the parameters are passed in the correct order as follows:
patternCustom(magE, theta, phi);
For more information on Pattern Custom function, you can refer to the below documentation:
See Also
Categories
Find more on Import, Export, and Visualization 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!