This function fully supports thread-based environments. For
more information, see Run MATLAB Functions in Thread-Based Environment.

Usage notes and limitations:

To run this function on a GPU and obtain a `gpuArray`

output, use any
of the following
syntaxes:

[f1,f2] = gpuArray.freqspace(n)
[f1,f2] = gpuArray.freqspace([m n])
[x,y] = gpuArray.freqspace(___,'meshgrid')
f = gpuArray.freqspace(N)
f = gpuArray.freqspace(N,'whole')

For more information, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox).