From 9:00 AM - 12:00 PM CDT on Saturday, June 6th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

digitreverseorder (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: transforms

Requires: MathScript RT Module

Syntax

c = digitreverseorder(a, b)

[c, d] = digitreverseorder(a, b)

Legacy Name: digitrevorder

Description

Permutes the input array into digit-reversed order.

Examples

Inputs

Name Description
a Specifies the input array. a is an array. If a is a 2D array, digitreverseorder permutes a along the first non-singleton dimension of a.
b Specifies the radix base. The length of the permuted dimension must be an integer power of b. digitreverseorder(a, 2) is equivalent to bitreverseorder(a).

Outputs

Name Description
c Returns the permuted array.
d Returns the digit-reversed index.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

x = [0:15].';
y = digitreverseorder(x, 2)

Related Topics

bitreverseorder

WAS THIS ARTICLE HELPFUL?

Not Helpful