Brothersoft.com Windows | Mac | Mobile | Games | Ask

enum

ENUM creates an enumerating vector from a list of terminators N(1:n)

Last Week downloads: 1
Total downloads: 82
  • Last Updated: Jun 22, 2010
  • License: Freeware Free
  • OS: Windows /Linux/Mac OS/BSD/Solaris
  • Requirements: Matlab 6.5
screenshot

User reviews

5 out of 5 based on 1 ratings for enum

For enum Publisher's description

BS Editor: ENUM creates an enumerating vector from a list of terminators N(1:n)

E = [ 1:N(1) 1:N(2) ... 1:N(x) ... 1:N(n) ]

non-integer (non-enumerable) terminators such as s or s are handled by an option

EXAMPLES
n=[nan 2 inf 3 0 0 1 3 nan]
e=enum(n)
% e = 1 2 1 2 3 1 1 2 3

e=enum(n,'-')
% e = NaN 1 2 Inf 1 2 3 0 0 1 1 2 3 NaN

e=enum(n,-100)
% e = -100 1 2 -100 1 2 3 -100 -100 1 1 2 3 -100

NOTE
this function is based on a SMART Snippet provided
by long-time CSSMer in the thread
'Replicating Rows based on an Index in the Matrix'
(2005-05-01 05:18:30 EST)
you can free download enum now.

For enum Related Software

Statement

Please be aware that Brothersoft do not supply any crack, patches, serial numbers or keygen for enum,and please consult directly with program authors for any problem with enum.