Rank: 943 based on 141 downloads (last 30 days) and 7 files submitted
photo

David Fass

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by David Fass View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
01 Nov 2004 MINTERSECT -- Multiple set intersection. A generalization of INTERSECT to handle multiple inputs. Author: David Fass intersect, set, intersection, multiple 66 8
  • 5.0
5.0 | 7 ratings
03 Sep 2004 PARTPERM -- Partial random permutation of a vector Partial random permutation of a vector. Author: David Fass statistics, probability, permute, permutation, index, random 6 1
  • 5.0
5.0 | 1 rating
12 Aug 2004 CONTIGUOUS -- Start and stop indices for contiguous runs RUNS = CONTIGUOUS(A,NUM) returns the start and stop indices for contiguous runs of the elements NUM Author: David Fass contiguous, run, runs, length, runlength, run length 13 0
  • 5.0
5.0 | 1 rating
16 Jul 2004 IND2SUBVECT: Multiple subscript vector from linear index. A perversion of IND2SUB that returns a vector of N indices rather than N individual variables. Author: David Fass matrices, subscript, convert, linear, index, vector 16 3
16 Jul 2004 CARTPROD: Cartesian product of multiple sets Returns a matrix containing the cartesian product of multiple input sets. Author: David Fass sets, cartesian, product, permutation 26 5
  • 4.2
4.2 | 5 ratings
Comments and Ratings on David Fass' Files View all
Updated File Comment by Comments Rating
16 Sep 2014 IND2SUBVECT: Multiple subscript vector from linear index. A perversion of IND2SUB that returns a vector of N indices rather than N individual variables. Author: David Fass Durga Lal Shrestha

IND2SUBVECT produces error message when IND is vector.

IND = [3 4 5 6]
s = [3,3];

IJ = ind2subVect(s,IND)

In an assignment A(I) = B, the number of elements in B and I must be the same.

27 Aug 2014 MINTERSECT -- Multiple set intersection. A generalization of INTERSECT to handle multiple inputs. Author: David Fass Robert Daly

The extension with indices in the post by Alexander was exactly what I was looking for. Worked just like intersect but with 3 vectors

25 Oct 2012 MINTERSECT -- Multiple set intersection. A generalization of INTERSECT to handle multiple inputs. Author: David Fass Hiren

Works great - thanks!

25 Sep 2012 CONTIGUOUS -- Start and stop indices for contiguous runs RUNS = CONTIGUOUS(A,NUM) returns the start and stop indices for contiguous runs of the elements NUM Author: David Fass Stephen

07 Aug 2012 MINTERSECT -- Multiple set intersection. A generalization of INTERSECT to handle multiple inputs. Author: David Fass David

Excellent function David, thanks. Good extension Alexander

Contact us