MATLAB: Is there a way to import an antenna geometry from Antenna Toolbox into PDE Toolbox
antennaMATLABpdetoolbox
Related Solutions
There are several ways of creating a 2D pattern.
1. Using the pattern function on an element from the Antenna Toolbox catalog. Look at the following example in our documentation page.
2. Using the patternAzimuth or patternElevation functions on an element from the Antenna Toolbox catalog
3. Using 'patternCustom' on imported data
Look at the section titled, 'Visualize 2D radiation pattern of helix directivity
4. Using 'polarpattern'
All the plots that are generated from these functions are interactive, meaning you can put markers on the traces and read out the directivity/gain values. Using the right-click inside or outside the axes also allows more control. The polar plot capability for the functions (1-3) is based on (4). Also, this example should be helpful
More information on pattern
Hi Shahar,
The plot is of directivity, not gain (confusingly, directivity is sometimes called directive gain). Since directivity is determined by using the total radiated power, the input power to the antenna does not matter. But to find gain = directivity x [radiated power / input power], the input power must be known. Since this antenna is a theoretical construct, you are free to assume the input power is the same as the radiated power, in which case gain and directivity are the same thing. For a more realistic case you could add resistivity to the antenna elements (not having the antenna toolbox I don't know how the toolbox would give you radiated power vs input power, but I'm sure it will). You could also take the half wave dipole input impedance of 73.1 ohms and assume a mismatch between that value and the output impedance of the driving source. That will lead to wasted power, an antenna efficiency less than 1, and reduced gain.
Best Answer
In order to do so, you can follow the steps below:
1. Create an Antenna Object
2. Use 'stlwrite' to write the stl file and mesh. Please refer the following link for more information:
https://www.mathworks.com/help/antenna/ref/stlwrite.html
3. Load it in PDE toolbox. Please refer the following link for more information:
https://www.mathworks.com/help/pde/ug/pde.pdemodel.importgeometry.html
4. You can then manipulate it.
Following are some useful links that might be helpful for you:
1. The functionality introduced in R2020a to create custom 3D antenna object using STL file - https://www.mathworks.com/help/antenna/ref/customantennastl.html
2. Antenna geometry created from scratch to use with PDE toolbox - https://www.mathworks.com/help/antenna/ug/rfid-antenna-design.html