Does this error indicate that I need the Phased Array System Toolbox to execute this calculation?

1 view (last 30 days)
I have created a custom antenna using by importing Az/El patterns for a directional antenna. I am attempting to use it to perform a signal strength calculation and receive the following error:
>> ss_LR = sigstrength(rxs, radarHilltxsite, "longley-rice")';
Unable to resolve the name 'phased.internal.Directivity'.
Error in rxsite/sigstrength (line 252)
txDirectivity = phased.internal.Directivity('Sensor',tx.Antenna);
The antenna properties are:
antenna =
phased.CustomAntennaElement with properties:
FrequencyVector: [2.2000e+09 2.3000e+09]
FrequencyResponse: [0 0]
PatternCoordinateSystem: 'az-el'
AzimuthAngles: [-180 -178 -176 -174 -172 -170 -168 -166 -164 -162 -160 -158 -156 -154 -152 -150 -148 -146 -144 … ]
ElevationAngles: [-90 -88 -86 -84 -82 -80 -78 -76 -74 -72 -70 -68 -66 -64 -62 -60 -58 -56 -54 -52 -50 -48 -46 -44 … ]
SpecifyPolarizationPattern: false
MagnitudePattern: [91×181 double]
PhasePattern: [181×361 double]
MatchArrayNormal: true
I would like to confirm that this error indicates that I need to purchase the Phased Array System Toolkit in order to execute the signal stregnth calculation using the imported antenna data.

Answers (1)

Torsten
Torsten on 12 Jan 2024
  8 Comments
Torsten
Torsten on 16 Jan 2024
Edited: Torsten on 16 Jan 2024
But if you have code for a problem in MATLAB, the person who coded it should know which toolboxes he/she used, shouldn't he/she ?
Ted
Ted on 16 Jan 2024
In my case, the Antenna Toolbox allows me to import measured antenna data and create a 3D antenna radiation pattern using the patternFromSlices function. I then use that pattern to create an antenna object with the phased.CustomAntennaElement function. Then I create a transmit site using the txsite function in the communications toolbox, based on the antenna object I have created. The failure then occurs when I try to visualize the txsite antenna pattern on the siteviewer geoplot using the pattern function. It also occurs when I try to use the sigstrength function to compute the power level received from the txsite.
Note that all of this works if I use an antenna object generated using the reflectorParabolic function in the Antenna Toolbox.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!