Picking elements from a set Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: pick.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Stefan Stoll (View more)

Picking elements from a set script description:




Publisher review:
Picking elements from a set gives all possibilities of picking k elements from a set of N with/without order/repetition. s = pick(V,k,Type)Gives all possibilities of picking k elements from the set V with or without order and repetition.V can be an array of any size and any type.

Type can have the following values: '', 'o', 'r', 'or'. 'o' means pick ordered list, 'r' means replace elements after picking.s is an array with all picks, one per row.Examples:>> pick(0:1, 4, 'or')ans =0 0 0 00 0 0 10 0 1 00 0 1 10 1 0 00 1 0 10 1 1 00 1 1 11 0 0 01 0 0 1...>> pick('abcd', 2, '')ans =abacadbcbdcd>> pick(1:3,3,'o')ans =1 2 31 3 22 1 32 3 13 1 23 2 1 Requirements: ยท MATLAB Release: R14
Picking elements from a set is a Matlab script for Mathematics scripts design by Stefan Stoll. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5