# obw

Occupied bandwidth

## Syntax

## Description

specifies the frequency interval over which to compute the occupied bandwidth.
This syntax can include any combination of input arguments from previous
syntaxes, as long as the second input argument is either `bw`

= obw(___,`freqlims`

,`p`

)`fs`

or `f`

. If the second input is passed as empty,
`obw`

assumes a normalized frequency. This syntax
also specifies `p`

as the percentage of the total signal
power contained in the occupied band.

`obw(___)`

with no output arguments
plots the PSD or power spectrum in the current figure window and annotates
the bandwidth.

## Examples

## Input Arguments

## Output Arguments

## Algorithms

To determine the occupied bandwidth, `obw`

computes
a periodogram power spectral density estimate using a rectangular
window and integrates the estimate using the midpoint rule. The occupied
bandwidth is the difference in frequency between the points where
the integrated power crosses 0.5% and 99.5% of the total power in
the spectrum.

## Extended Capabilities

## Version History

**Introduced in R2015a**

## See Also

`bandpower`

| `periodogram`

| `powerbw`

| `plomb`

| `pwelch`