About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • Last update: 5 years ago
  • Total downloads: 102
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Joachim Selke
See full specifications

scripts default iconrandpermquick (Scripts) Publisher's description

You can generate random permutations using MATLAB's randperm function

You can generate random permutations using MATLAB's randperm function. Unfortunately, thius function is quite inefficient since it is implemented by sorting a list of random numbers. This requires time O(n * log(n)).

Using the Knuth shuffle algorithm this operation only takes time O(n). This package implements the Knuth shuffle.

Usage: Simply use randpermquick(n) instead of randperm(n).

Note that the file randpermquick_helper.c has to be compiled before randpermquick can be used.

System Requirements:

MATLAB 7.6 (R2008a)
Program Release Status: New Release
Program Install Support: Install and Uninstall

randpermquick (Scripts) Tags:

Click on a tag to find related softwares

Is randpermquick (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.