# phaseNoiseToJitter

Measure RMS phase jitter from phase noise data

## Syntax

``[Jrms_rad,Jrms_deg] = phaseNoiseToJitter(PNFreq,PNPow)``
``[Jrms_rad,Jrms_deg, Jrms_s] = phaseNoiseToJitter(___,'Frequency',frequency)``

## Description

````[Jrms_rad,Jrms_deg] = phaseNoiseToJitter(PNFreq,PNPow)` returns the effective RMS phase jitter in radians and degrees from the phase noise frequency and power levels.```

````[Jrms_rad,Jrms_deg, Jrms_s] = phaseNoiseToJitter(___,'Frequency',frequency)` also returns the effective RMS phase jitter in seconds when you specify the signal frequency in addition to the input arguments in the previous syntax.```

## Examples

collapse all

Use a signal of 100 MHz frequency. The phase noise profile is:

• -125 dBc/Hz at 100 Hz

• -150 dBc/Hz at 1 kHZ

• -174 dBc/Hz at 10 kHz

• -174 dBc/Hz at 200 MHz

Calculate the effective RMS phase jitter in radian, degree and second.

```PNFreq = [100,1e3,1e4,200e6]; PNPow = [-125,-150,-174,-174]; [Jrms_rad Jrms_deg Jrms_sec]=phaseNoiseToJitter(PNFreq,PNPow,'Frequency',100e6)```
```Jrms_rad = 4.0430e-05 ```
```Jrms_deg = 0.0023 ```
```Jrms_sec = 6.4346e-14 ```

## Input Arguments

collapse all

Frequency points relative to the fundamental frequency to which phase noise is calculated, specified as a real-valued vector in hertz.

Data Types: `double`

Phase noise power in 1-Hz bandwidth centered at the specified frequency offsets relative to the fundamental frequency, specified as a real-valued vector in dBc/Hz. The elements of `PNPow` correspond to the elements of `PNFreq`.

Data Types: `double`

Signal frequency, specified as a scalar in hertz. Signal frequency is used to calculate the RMS phase jitter in seconds.

Data Types: `double`

## Output Arguments

collapse all

Effective RMS phase jitter, returned as a scalar in radians.

Effective RMS phase jitter, returned as a scalar in degrees.

Effective RMS phase jitter, returned as a scalar in seconds. To calculate `Jrms_s`, define the signal frequency using Name-Value pair arguments. 