# helixpitch2spacing

Spacing between turns of helix

## Description

## Examples

### Calculate Spacing Between Helix Turns

Calculate spacing for helix with pitch varying from 12 degrees to 14 degrees in steps of 0.5 and 20 mm radius.

s = helixpitch2spacing(12:0.5:14,20e-3)

`s = `*1×5*
0.0267 0.0279 0.0290 0.0302 0.0313

### Calculate Spacing for Helix with Varying Pitch

Calculate spacing for helix with pitch varying from 12 degrees to 14 degrees in steps of 0.5 and radius 20 mm.

s = helixpitch2spacing(12:0.5:14,20e-3)

`s = `*1×5*
0.0267 0.0279 0.0290 0.0302 0.0313

### Calculate Spacing of Helix Antenna with Varying Radius

Calculate the spacing of a helix that has a pitch of 12 degrees and a radius that varies from 20 mm to 22 mm in steps of 0.5 mm.

s = helixpitch2spacing(12,20e-3:0.5e-3:22e-3)

`s = `*1×5*
0.0267 0.0274 0.0280 0.0287 0.0294

### Calculate Spacing of Helix with Varying Pitch and Radius

Calculate spacing for helix with pitch varying from 12 degrees to 14 degrees in steps of 0.5 and radius varying from 20mm to 22mm in steps of 0.5.

s = helixpitch2spacing(12:0.5:14,20e-3:0.5e-3:22e-3)

`s = `*1×5*
0.0267 0.0286 0.0305 0.0324 0.0345

## Input Arguments

`a`

— Pitch angle of helix

scalar in meters | vector in meters

Pitch angle of helix, specified as a scalar or vector in meters.

**Example: **12:0.5:14

`r`

— Radius of helix

scalar in meters | vector in meters

Radius of helix, specified as a scalar or vector in meters.

**Example: **20e-3

**Note**

If the pitch angle and radius are both vectors, then their lengths must be equal.

## Output Arguments

`s`

— Spacing between helix turns

scalar in meters | vector in meters

Spacing between helix turns, returned as a scalar or vector in meters.

## Version History

**Introduced in R2015a**

## See Also

## Open Example

You have a modified version of this example. Do you want to open this example with your edits?

## MATLAB Command

You clicked a link that corresponds to this MATLAB command:

Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

## How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

### Americas

- América Latina (Español)
- Canada (English)
- United States (English)

### Europe

- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)

- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)