Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

digitrevorder (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the transforms class.

Syntax

c = digitrevorder(a, b)

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

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, digitrevorder 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. digitrevorder(a, 2) is equivalent to bitrevorder(a).

Outputs

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

Examples

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

Related Topics

bitrevorder


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit