Contenido principal

hexagon.hvx.IFFT2

R2026b

2-D inverse fast Fourier transform using HVX

Since R2026b

Description

The hexagon.hvx.IFFT2 System object™ computes the inverse two-dimensional fast Fourier transform (IFFT) using the Qualcomm® Hexagon® Vector eXtensions (HVX) library.

To perform a 2-D IFFT operation:

  1. Create the hexagon.hvx.IFFT2 object and set its properties.

  2. Call the object with arguments, as if it were a function.

To learn more about how System objects work, see What Are System Objects?

The System object supports simulation and generates optimized code for Qualcomm DSPs using CRL-based replacements. Use this System object to reconstruct spatial-domain data from frequency-domain representations in image processing and similar workflows.

You can deploy the code generated using the hexagon.hvx.IFFT2 System object to one of these boards that are available under the Hardware board parameter in Configuration Parameters:

  • Qualcomm Hexagon Android Board

  • Qualcomm Hexagon Linux Board

Creation

Description

obj = hexagon.hvx.IFFT2() creates a 2-D IFFT System object.

example

Usage

Description

y = obj(x) performs a 2-D IFFT operation on x.

Input Arguments

expand all

Input signal, specified as a complex 2-D square matrix. The dimension of the square matrix must be a power of two and greater than or equal to 64.

Data Types: single
Complex Number Support: Yes

Output Arguments

expand all

IFFT output, returned as a real-valued 2-D matrix.

Data Types: single

Object Functions

To use an object function, specify the System object as the first input argument. For example, to release system resources of a System object named obj, use this syntax:

release(obj)

expand all

stepRun System object algorithm
releaseRelease resources and allow changes to System object property values and input characteristics
resetReset internal states of System object

Examples

collapse all

Create frequency-domain input (conjugate symmetric for real output).

x = fft2(rand([128,128],"single"));

Create a 2-D IFFT System object.

obj = hexagon.hvx.IFFT2()

Compute the 2-D IFFT.

Y = obj(x);

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2026b