Main Content

createFeed

Create feed location for custom antenna

Description

createFeed(antenna) plots a custom antenna mesh in a figure window. From the figure window, you can specify a feed location for the mesh and create a custom antenna. To specify a region for the feed point, select two points, inside triangles on either side of the air gap or inside triangles that share a common edge.

example

createFeed(antenna,point1,point2) creates the feed across the triangle edges identified by point1 and point2. After the feed is created, when you plot the resulting antenna mesh the feed location is highlighted.

example

Examples

collapse all

Load a 2-D custom mesh. Create a custom antenna using the points and triangles.

load planarmesh.mat;
c = customAntennaMesh(p,t)
c = 
  customAntennaMesh with properties:

          Points: [3x658 double]
       Triangles: [4x1219 double]
    FeedLocation: []
       Conductor: [1x1 metal]
            Tilt: 0
        TiltAxis: [1 0 0]
            Load: [1x1 lumpedElement]

Use the createFeed function to view the antenna mesh structure. Pick and Undo buttons are visible at the right side of the window, where the Pick button is highlighted.

createFeed(c);

Figure contains an axes object and other objects of type uicontrol. The axes object with title Use Pick Button to Choose Feed Triangles, xlabel x (m), ylabel y (m) contains an object of type patch. This object represents PEC.

Click Pick to display the cross-hairs. To specify a region for the feed point, zoom in and select two points, one inside each triangle on either side of the air gap.

Select the points using the cross-hairs.

customantenna_feed_select_1.png

customantenna_feed_select_2.png

Selecting the second triangle creates and displays the antenna feed.

customantenna_withfeed.png

Load a 2-D custom mesh. Create a custom antenna using the points and triangles.

load planarmesh.mat;
c = customAntennaMesh(p,t)
c = 
  customAntennaMesh with properties:

          Points: [3x658 double]
       Triangles: [4x1219 double]
    FeedLocation: []
       Conductor: [1x1 metal]
            Tilt: 0
        TiltAxis: [1 0 0]
            Load: [1x1 lumpedElement]

Use the createFeed function to view the array mesh structure in a figure window. Pick and Undo buttons are visible at the right side of the window, where the Pick button is highlighted.

createFeed(c);

Figure contains an axes object and other objects of type uicontrol. The axes object with title Use Pick Button to Choose Feed Triangles, xlabel x (m), ylabel y (m) contains an object of type patch. This object represents PEC.

Click Pick to display the cross-hairs. To specify a region for the feed point, zoom in and select two points, one inside each triangle sharing an edge.

Select the points using the cross-hairs.

customantenna_feed_between_triangles_1.png

customantenna_feed_between_triangles_2.png

Selecting the second triangle creates and displays the antenna feed.

customantenna_feed_between_triangles.png

Load a 2-D custom mesh using the planarmesh.mat. Create a custom antenna using the points and triangles.

load planarmesh.mat
c = customAntennaMesh(p,t)
c = 
  customAntennaMesh with properties:

          Points: [3x658 double]
       Triangles: [4x1219 double]
    FeedLocation: []
       Conductor: [1x1 metal]
            Tilt: 0
        TiltAxis: [1 0 0]
            Load: [1x1 lumpedElement]

show (c)

Figure contains an axes object. The axes object with title Custom Mesh Antenna With Undefined Feed, xlabel x (m), ylabel y (m) contains an object of type patch. This object represents PEC.

Create the feed for the custom antenna across the points (0.07,0.01) and (0.05,0.05) meters respectively.

createFeed(c,[0.07 0.01],[0.05 0.05])
show(c)

Figure contains an axes object. The axes object with title customAntennaMesh antenna element, xlabel x (mm), ylabel y (mm) contains 3 objects of type patch, surface. These objects represent PEC, feed.

Input Arguments

collapse all

Custom 2-D planar mesh structure, specified as a customAntennaMesh object.

Example: customAntennaMesh

Points to identify feed region, specified as Cartesian coordinates in meters. Specify the points in the format [x1 y1], [x2 y2].

Example: createFeed(c,[0.07 0.01],[0.05 0.05]);

Version History

Introduced in R2015b