Main Content

Ne10 Conditions for MATLAB Functions to Support ARM Cortex-A Processors

Each MATLAB® function that you can use with the Support Package for ARM® Cortex®-A processors with Neon extension requires specific conditions to allow code replacement with the Ne10 Library. You use this code replacement when generating C code from a model or from MATLAB code.

If you do not meet the specific requirements, then the C code is generated to run on the ARM Cortex-A processors. However, this generated code does not use Ne10 library support.

The Ne10 library supports these MATLAB functions only when you set specific properties, as indicated in this table:

MATLAB FunctionSupported Function SignaturesInput RequirementsParameter RequirementsEquivalent Ne10 Functions
fft

Y = fft(X)

Y = fft(X, n)

Y = fft(X, n, dim)

  • Real or Complex Values

  • Multichannel Input (Multiple columns)

  • single data type

Transform Length n:

  • Minimum length is 8 when input is real.

  • Minimum length is 4 when input is complex.

Dimension to operate along dim: dim must be a compile time constant.

  • ne10_fft_alloc_c2c_float32

  • ne10_fft_c2c_1d_float32_neon

  • ne10_fft_alloc_r2c_float32

  • ne10_fft_r2c_1d_float32_neon

Wrapper functions, each with an mw_prefix, are provided to bridge the library interface.

ifft

X = ifft(Y)

X = ifft(Y, n)

X = ifft(Y, n, dim)

X = ifft(__, symflag)

  • Complex Values

  • Multichannel Input

  • single data type

Transform Length n: Minimum length is 8.

Dimension to operate along dim: dim must be a compile time constant.

Symmetric type symflag: non-symmetric (default)

  • ne10_fft_alloc_c2c_float32

  • ne10_fft_c2c_1d_float32_neon

  • ne10_fft_alloc_r2c_float32

  • ne10_fft_r2c_1d_float32_neon

Wrapper functions, each with an mw_prefix, are provided to bridge the library interface.

fft2

Y = fft2(X)

Y = fft2(X, m, n)

  • Real or Complex Values

  • Multichannel Input (Multiple columns)

  • single data type

Number of transform rows m:

  • Minimum length is 8 when input is real.

  • Minimum length is 4 when input is complex.

Number of transform rows n:

  • Minimum length is 8 when input is real.

  • Minimum length is 4 when input is complex.

  • ne10_fft_alloc_c2c_float32

  • ne10_fft_c2c_1d_float32_neon

  • ne10_fft_alloc_r2c_float32

  • ne10_fft_r2c_1d_float32_neon

Wrapper functions, each with an mw_prefix, are provided to bridge the library interface.

ifft2

X = ifft2(Y)

X = ifft2(Y, m, n)

X = ifft2(__, symflag)

  • Complex Values

  • Multichannel Input

  • single data type

Number of transform rows m:

  • Minimum length is 8

Number of transform rows n:

  • Minimum length is 8

Symmetric type symflag: non-symmetric (default)

  • ne10_fft_alloc_c2c_float32

  • ne10_fft_c2c_1d_float32_neon

  • ne10_fft_alloc_r2c_float32

  • ne10_fft_r2c_1d_float32_neon

Wrapper functions, each with an mw_prefix, are provided to bridge the library interface.

fftn

Y = fftn(X)

Y = fftn(X, sz)

  • Real or Complex Values

  • Multichannel Input (Multiple columns)

  • single data type

Length of transform dimension sz: Each of sz element must have:

  • Minimum value 8 when input is real

  • Minimum value 4 when input is complex

  • ne10_fft_alloc_c2c_float32

  • ne10_fft_c2c_1d_float32_neon

  • ne10_fft_alloc_r2c_float32

  • ne10_fft_r2c_1d_float32_neon

Wrapper functions, each with an mw_prefix, are provided to bridge the library interface.

ifftn

X = ifftn(Y)

X = ifftn(Y, sz)

X = ifftn(__, symflag)

  • Complex Values

  • Multichannel Input

  • single data type

Length of transform dimension sz: Each of sz element must have:

  • Minimum value is 8

  • ne10_fft_alloc_c2c_float32

  • ne10_fft_c2c_1d_float32_neon

  • ne10_fft_alloc_r2c_float32

  • ne10_fft_r2c_1d_float32_neon

Wrapper functions, each with an mw_prefix, are provided to bridge the library interface.