Main Content

createFeed

Create feed locations for custom array

Description

example

createFeed(array) plots a custom array mesh in a figure window. From the figure window, you can specify feed locations by clicking on the mesh and create a custom array. To specify a region for the feed point, select two pairs of points, inside triangles on either side of the air gap.

example

createFeed(array,point1a,point1b,point2a,point2b,.....) creates the feed across the triangle edges identified by pairs of points (point1a and point1b, point2a, and point2b). After creating the feed, feed location is highlighted when you plot the resulting array mesh.

Input Arguments

expand all

Custom mesh array, specified as a scalar.

Point pairs 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],[-0.07,0.01],[-0.05,0.05]). Creates two pairs of feedpoints for a custom array mesh at the x-y coordinates specified.

Examples

Two–Feed Custom Array Mesh Using GUI

Create a custom array with two feeds.

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

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

            Points: [3x658 double]
         Triangles: [4x1219 double]
          NumFeeds: 2
      FeedLocation: []
    AmplitudeTaper: 1
        PhaseShift: 0
              Tilt: 0
          TiltAxis: [1 0 0]

Use the createFeed function to view the array mesh structure. In this array mesh view, you see Pick and Undo buttons. The Pick button is highlighted.

createFeed(c)

Click Pick to display the cross hairs. For an array with two feeds, select two pairs (four points) in the mesh. To specify a feed-region for the, zoom in and select two points each, one inside each triangle on either side of the air gap. Select the points using the cross hairs.

  • Select the first triangle for feedpoint 1.

  • Select the second triangle on the other side of the air gap for feedpoint 1.

  • Select first triangle for feedpoint 2.

  • Select the second triangle on the other side of the air gap for feedpoint 2.

Selecting the fourth triangle creates and displays the array feeds.

You must select the two triangles on either side of the air gap. Otherwise, the function displays an error message.

Create Feed for Custom Array Mesh

Load a custom mesh and create an array.

load planarmesh.mat;
c = customArrayMesh(p,t,2);
show(c)

Figure contains an axes object. The axes object with title customArrayMesh with Feed Not Defined contains an object of type patch.

Create feeds for the custom array mesh.

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

Figure contains an axes object. The axes object with title customArrayMesh array element contains 4 objects of type patch, surface. These objects represent PEC, feed.

Introduced in R2016a