# Documentation

### This is machine translation

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

# impedance

Input impedance of antenna; scan impedance of array

## Syntax

``impedance(antenna,frequency)``
``z = impedance(antenna,frequency)``
``impedance(array,frequency,elementnumber)``
``z = impedance(array,frequency,elementnumber)``

## Description

example

````impedance(antenna,frequency)` calculates the input impedance of an antenna object and plots the resistance and reactance over a specified frequency. ```

example

````z = impedance(antenna,frequency)` returns the impedance of the antenna object, over a specified frequency.```
````impedance(array,frequency,elementnumber)` calculates and plots the scan impedance of a specified antenna element in an array.```
````z = impedance(array,frequency,elementnumber)` returns the scan impedance of a specified antenna element in an array. ```

## Examples

collapse all

Calculate and plot the impedance of a planar dipole antenna over a frequency range of 50MHz - 100MHz.

```h = dipole; impedance (h,50e6:1e6:100e6);```

Calculate scan impedance of default linear array over a frequency range of 50MHz to 100MHz.

```h = linearArray; z = impedance(h,50e6:1e6:100e6)```
```z = 1.0e+02 * 0.2752 - 1.6569i 0.2752 - 1.6569i 0.2864 - 1.5805i 0.2864 - 1.5805i 0.2979 - 1.5058i 0.2979 - 1.5058i 0.3097 - 1.4325i 0.3097 - 1.4325i 0.3219 - 1.3605i 0.3219 - 1.3605i 0.3343 - 1.2896i 0.3343 - 1.2896i 0.3471 - 1.2197i 0.3471 - 1.2197i 0.3603 - 1.1507i 0.3603 - 1.1507i 0.3739 - 1.0825i 0.3739 - 1.0825i 0.3880 - 1.0149i 0.3880 - 1.0149i 0.4025 - 0.9477i 0.4025 - 0.9477i 0.4176 - 0.8810i 0.4176 - 0.8810i 0.4332 - 0.8145i 0.4332 - 0.8145i 0.4495 - 0.7481i 0.4495 - 0.7481i 0.4664 - 0.6817i 0.4664 - 0.6817i 0.4841 - 0.6152i 0.4841 - 0.6152i 0.5027 - 0.5484i 0.5027 - 0.5484i 0.5221 - 0.4812i 0.5221 - 0.4812i 0.5426 - 0.4135i 0.5426 - 0.4135i 0.5642 - 0.3451i 0.5642 - 0.3451i 0.5871 - 0.2759i 0.5871 - 0.2759i 0.6114 - 0.2058i 0.6114 - 0.2058i 0.6372 - 0.1345i 0.6372 - 0.1345i 0.6648 - 0.0620i 0.6648 - 0.0620i 0.6944 + 0.0120i 0.6944 + 0.0120i 0.7261 + 0.0875i 0.7261 + 0.0875i 0.7604 + 0.1649i 0.7604 + 0.1649i 0.7973 + 0.2442i 0.7973 + 0.2442i 0.8374 + 0.3257i 0.8374 + 0.3257i 0.8811 + 0.4095i 0.8811 + 0.4095i 0.9287 + 0.4958i 0.9287 + 0.4958i 0.9808 + 0.5848i 0.9808 + 0.5848i 1.0381 + 0.6767i 1.0381 + 0.6767i 1.1013 + 0.7716i 1.1013 + 0.7716i 1.1711 + 0.8698i 1.1711 + 0.8698i 1.2486 + 0.9712i 1.2486 + 0.9712i 1.3348 + 1.0759i 1.3348 + 1.0759i 1.4311 + 1.1840i 1.4311 + 1.1840i 1.5390 + 1.2952i 1.5390 + 1.2952i 1.6602 + 1.4092i 1.6602 + 1.4092i 1.7968 + 1.5254i 1.7968 + 1.5254i 1.9511 + 1.6430i 1.9511 + 1.6430i 2.1257 + 1.7606i 2.1257 + 1.7606i 2.3237 + 1.8762i 2.3237 + 1.8762i 2.5484 + 1.9872i 2.5484 + 1.9872i 2.8034 + 2.0895i 2.8034 + 2.0895i 3.0921 + 2.1778i 3.0921 + 2.1778i 3.4179 + 2.2452i 3.4179 + 2.2452i 3.7831 + 2.2822i 3.7831 + 2.2822i 4.1884 + 2.2770i 4.1884 + 2.2770i 4.6313 + 2.2153i 4.6313 + 2.2153i ```

## Input Arguments

collapse all

Antenna object, specified as a scalar handle.

Array object, specified as a scalar handle.

Frequency range to calculate impedance, specified as a vector in Hz.

Example: 50e6:1e6:100e6

Data Types: `double`

Antenna element number in array, specified as a scalar.

Example: 1

Data Types: `double`

## Output Arguments

collapse all

Input impedance of antenna or scan impedance of array, returned as a complex number in ohms. The real part of the complex number indicates the resistance. The imaginary part of the complex number indicates the reactance.