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

randpermutation (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: statistics

Requires: MathScript RT Module

Syntax

c = randpermutation(a)

Legacy Name: randperm

Description

Generates a random permutation of natural numbers.

Examples

Inputs

Name Description
a Specifies a positive integer.

Outputs

Name Description
c Returns a random permutation of the integers from 1 to a. c is a row vector.

Examples

A = 11
C = randpermutation(A)

Related Topics

rand
randnormal
random


 

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