# hornangle2size

Equivalent flare width and flare height from flare angles

## Syntax

``````[flarewidth,flareheight]= hornangle2size(width,height,flarelength,angleE,angleH)``````

## Description

example

``````[flarewidth,flareheight]= hornangle2size(width,height,flarelength,angleE,angleH)``` calculates the equivalent `flarewidth` and `flareheight` for a rectangular horn antenna from its flare angles, `angleE`, and `angleH`.```

## Examples

collapse all

Calculate the flare width and the flare height of a horn antenna with

• Width of the waveguide = 0.0229 m

• Height of the waveguide = 0.0102 m

• Flare length of the horn = 0.2729 m

• Flare angle in the E-plane = 12.2442 degrees

• Flare angle in the H-plane = 14.4712 degrees

```width = 0.0229; height = 0.0102; flarelength = 0.2729; angleE = 12.2442; angleH = 14.4712; [flarewidth,flareheight] = hornangle2size(width,height,flarelength,... angleE,angleH)```
```flarewidth = 0.1638 ```
```flareheight = 0.1286 ```

## Input Arguments

collapse all

Rectangular waveguide width, specified as the comma-separated pair consisting of `'Width'` and a scalar in meters.

Data Types: `double`

Rectangular waveguide height, specified as the comma-separated pair consisting of `'Height'` and a scalar in meters.

Data Types: `double`

Flare length of horn, specified as the comma-separated pair consisting of `'FlareLength'` and a scalar in meters.

Data Types: `double`

Flare angle in E-plane of the horn, specified as a scalar in degrees.

Data Types: `double`

Flare angle in H-plane of the horn, specified as a scalar in degrees.

Data Types: `double`

## Output Arguments

collapse all

Flare width of horn, returned as a scalar in meters.

Data Types: `double`

Flare height of horn, returned as a scalar in meters.

Data Types: `double`