# freq_space

Version:

Generates frequency spaces for 1D and 2D applications.

## Syntax

b = freq_space(a)
b = freq_space(a, option)
[b, c] = freq_space(a)
[b, c] = freq_space(a, 'meshgrid')
Legacy name: freqspace

## a

Number of equally spaced points around the unit circle. If you request two outputs, a can be a 1-by-2 vector.

## option

Determines which equally spaced points MathScript uses for the evaluation of the frequency response.

Name Description
'half' freq_space evaluates the frequency response at points equally spaced around the upper half of the unit circle.
'whole' freq_space evaluates the frequency response at points equally spaced around the whole unit circle.

Default: 'half'

## 'meshgrid'

If you specify 'meshgrid', [b, c] = freq_space(..., 'meshgrid') is equivalent to [b, c] = freq_space(...); [b, c] = meshgrid(b, c).

## b, c

Equally spaced frequency responses.

## Number of Outputs

If you request one output and do not specify 'whole', freq_space assumes a equally spaced points around the upper half of the unit circle. If you request two outputs, freq_space returns the frequency range vectors.

b = freq_space(10)

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices