# Documentation

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English verison of the page.

# charge

Charge distribution on metal or dielectric antenna or array surface

## Syntax

``charge(object,frequency)``
``c = charge(object,frequency)``
``charge(object,frequency,'dielectric')``
``c = charge(object,frequency,'dielectric')``

## Description

example

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

example

````c = charge(object,frequency)` returns a vector of charges in C/m on the surface of an antenna or array object, at a specified frequency.```

example

````charge(object,frequency,'dielectric')` calculates and plots the absolute value of charge at a specified frequency value on the dielectric face of the antenna or array.```
````c = charge(object,frequency,'dielectric')` returns the x, y, z components of the charge on the dielectric surface of an antenna or array object, at a specified frequency.```

## Examples

collapse all

Calculate and plot the charge distribution on a bowtieTriangular antenna at 70MHz frequency.

```h = bowtieTriangular; charge (h, 70e6);```

Calculate charge distribution of linear array at 70 MHz frequency.

```h = linearArray; h.NumElements = 4; C = charge(h,70e6);```

Create a microstrip patch antenna using 'FR4' as the dielectric substrate.

```d = dielectric('FR4'); pm = patchMicrostrip('Length',75e-3, 'Width',37e-3, ... 'GroundPlaneLength',120e-3, 'GroundPlaneWidth',120e-3, ... 'Substrate',d) show(pm) ```
```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] Tilt: 0 TiltAxis: [1 0 0] Load: [1x1 lumpedElement] ```

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

```figure charge(pm,1.67e9,'dielectric') ```

## Input Arguments

collapse all

Antenna or array object, specified as a scalar handle.

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

Example: 70e6

Data Types: `double`

## Output Arguments

collapse all

Complex charges, returned as a 1xn vector in C/m. This value is calculated on every triangle mesh or every dielectric tetrahedron face on the surface of an antenna or array. of antenna or array.