Main Content

current

Current distribution on antenna or array surface

Description

example

current(object,frequency) calculates and plots the absolute value of the current on the surface of the specified antenna or array object at the specified frequency.

example

i = current(object,frequency) returns the components of the antenna or array surface current at the specified frequency in a Cartesian coordinate system.

[i,p] = current(object,frequency) also returns the point at which the function performs the current calculation.

example

current(object,frequency,"dielectric") calculates and plots the absolute value of the current at the specified frequency on the dielectric face of the antenna or array.

[___] = current(object,frequency,"dielectric") returns the components of the current on the dielectric surface of the antenna or array at the specified frequency in a Cartesian coordinate system.

[___] = current(___,Name=Value) specifies additional options using one or more name-value arguments.

Examples

collapse all

Calculate and plot the current distribution for a circular loop antenna at 70MHz frequency.

 h = loopCircular;
 current(h,70e6);

Calculate the current distribution of a default rectangular array at 70MHz frequency.

h = rectangularArray;
i = current(h,70e6)
i = 3×160 complex

   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i   0.0000 + 0.0000i
   0.0014 + 0.0026i   0.0009 + 0.0021i  -0.0010 - 0.0021i  -0.0008 - 0.0019i  -0.0013 - 0.0025i  -0.0021 - 0.0035i   0.0031 + 0.0052i   0.0007 + 0.0018i  -0.0017 - 0.0030i   0.0016 + 0.0029i  -0.0015 - 0.0027i   0.0015 + 0.0028i  -0.0001 - 0.0013i   0.0001 + 0.0028i  -0.0004 - 0.0014i   0.0003 + 0.0013i  -0.0006 - 0.0016i   0.0005 + 0.0016i  -0.0012 - 0.0023i   0.0012 + 0.0023i  -0.0008 - 0.0018i  -0.0012 - 0.0023i   0.0012 + 0.0023i   0.0013 + 0.0025i   0.0008 + 0.0018i   0.0001 + 0.0013i  -0.0001 - 0.0028i  -0.0013 - 0.0026i   0.0004 + 0.0014i  -0.0003 - 0.0013i   0.0006 + 0.0016i  -0.0005 - 0.0016i   0.0021 + 0.0035i  -0.0031 - 0.0052i   0.0017 + 0.0030i  -0.0016 - 0.0029i   0.0015 + 0.0027i  -0.0015 - 0.0028i   0.0010 + 0.0021i  -0.0010 - 0.0021i   0.0014 + 0.0026i   0.0010 + 0.0021i  -0.0010 - 0.0021i  -0.0008 - 0.0019i  -0.0013 - 0.0025i  -0.0020 - 0.0036i   0.0031 + 0.0052i   0.0008 + 0.0018i  -0.0017 - 0.0030i   0.0017 + 0.0029i
   0.0361 + 0.0634i   0.0548 + 0.1005i   0.0508 + 0.0922i   0.0565 + 0.1044i   0.0415 + 0.0736i   0.0134 + 0.0228i   0.0031 + 0.0052i   0.0596 + 0.1118i   0.0239 + 0.0412i   0.0171 + 0.0293i   0.0332 + 0.0580i   0.0271 + 0.0470i   0.0660 + 0.1323i   0.0664 + 0.1405i   0.0641 + 0.1244i   0.0655 + 0.1297i   0.0610 + 0.1152i   0.0632 + 0.1215i   0.0440 + 0.0784i   0.0487 + 0.0878i   0.0596 + 0.1118i   0.0440 + 0.0784i   0.0486 + 0.0877i   0.0415 + 0.0735i   0.0565 + 0.1044i   0.0660 + 0.1323i   0.0664 + 0.1405i   0.0361 + 0.0634i   0.0641 + 0.1244i   0.0655 + 0.1297i   0.0610 + 0.1152i   0.0632 + 0.1215i   0.0134 + 0.0228i   0.0031 + 0.0052i   0.0239 + 0.0412i   0.0171 + 0.0293i   0.0332 + 0.0581i   0.0271 + 0.0470i   0.0547 + 0.1005i   0.0508 + 0.0921i   0.0361 + 0.0633i   0.0547 + 0.1005i   0.0508 + 0.0922i   0.0565 + 0.1044i   0.0415 + 0.0735i   0.0134 + 0.0228i   0.0031 + 0.0052i   0.0596 + 0.1117i   0.0239 + 0.0412i   0.0171 + 0.0293i

Create a microstrip patch antenna with a FR4 dielectric substrate.

d = dielectric("FR4");
pm = patchMicrostrip(Length=75e-3,Width=37e-3,...
        GroundPlaneLength=120e-3,GroundPlaneWidth=120e-3,...
        Substrate=d)
pm = 
  patchMicrostrip with properties:

               Length: 0.0750
                Width: 0.0370
               Height: 0.0060
            Substrate: [1x1 dielectric]
    GroundPlaneLength: 0.1200
     GroundPlaneWidth: 0.1200
    PatchCenterOffset: [0 0]
           FeedOffset: [-0.0187 0]
            Conductor: [1x1 metal]
                 Tilt: 0
             TiltAxis: [1 0 0]
                 Load: [1x1 lumpedElement]

show(pm)

Plot the current distribution on the antenna at a frequency of 1.67 GHz.

figure
current(pm,1.67e9,"dielectric")

Create a default pifa (planar inverted F antenna).

ant = pifa;

Visualize the current distribution on the pifa antenna using log function scale.

current(ant,1.75e9,Scale="log")

Create Minkowski's island fractal antenna with an FR4 dielectric substrate. Plot the current distribution of the antenna at 1 GHz with the Slicer argument set to "on".

ant = fractalIsland(Substrate=dielectric("FR4"));
show(ant)

current(ant,1e9,Slicer="on",Scale="log10")

Select Enable slicer Mode. Then select a plane for the slice under Orientation.

CurrentSlicerOn.png

Click on the plot and select a region to hide.

CurrentHideRegion.png

Click Hide Selected Region to view the desired slice.

CurrentViewSlice.png

Input Arguments

collapse all

Antenna or array to calculate the current distribution, specified as either of these objects:

Example: dipole

Example: linearArray(Element=dipole)

Frequency to calculate current distribution, specified as a scalar in Hz.

Example: 70e6

Data Types: double

Name-Value Arguments

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Example: Scale="log10"

Before R2021a, use commas to separate each name and value, and enclose Name in quotes.

Example: 'Scale','log10'

Layer to plot the current distribution, specified as either "metal" or "dielectric". Use this argument to choose between metal and dielectric layers and plot the current distribution at the chosen layer.

Example: "dielectric"

Data Types: string

Scale of the current distribution plot to visualize the current distribution on the surface of the antenna, specified as a string or a logarithmic function. The default scale is "linear".

Example: "log10"

Data Types: string | function

Option to enable or disable plot interactivity, specified as "on" or "off", or as numeric or logical 1(true) or 0(false). Set this argument to 1 or "on" to open the plot with the slicer panel, and to slice and view the desired cross section of the plot along the xy-, yz-, and xz- planes. Set this argument to 0 or "off" to open the plot without the slicer panel.

Example: "on"

Example: 1

Example: true

Data Types: string | logical

Type of the current distribution plot, specified as "absolute", "real", or "imaginary". The default type is "absolute". Use this name-value argument to choose between absolute, real, and imaginary values of the current against which to plot the current distribution.

Example: "imaginary"

Data Types: string

Option to display the direction of the current vector, specified as "on" or "off". To display the direction of the current vector on the current distribution plot, specify this argument as "on". Otherwise, specify this argument as "off".

Example: "on"

Data Types: string

Output Arguments

collapse all

x, y, z components of the current distribution, returned as a 3-by-n complex matrix in A/m. The value of the current is calculated on every triangle mesh or every dielectric tetrahedron face on the surface of an antenna or array.

Cartesian coordinates representing the center of each triangle in the mesh, returned as a 3-by-n real matrix.

Version History

Introduced in R2015a