No BSD License  

Highlights from
SubSets

3.0

3.0 | 2 ratings Rate this file 5 Downloads (last 30 days) File Size: 635 Bytes File ID: #17702

SubSets

by H. Sh. G.

 

24 Nov 2007 (Updated 26 Nov 2007)

SubSets(m,n) returns all m dimension subsets of an n member set.

| Watch this File

File Information
Description

%SubSets SubSets(m,n) returns all m dimension subsets of an n member set.
% Subsets(m,n,k) starts from k'th member.
% This routine works recursively. Results are arranged column-wise
% in a matrix.

MATLAB release MATLAB 5.3 (R11)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
26 Nov 2007 Dimitri Shvorob

>> subsets(2,3)
??? Undefined command/function 'col'.

Error in ==> subsets at 20
      ii=i*ones(1,col(ss));

Btw, do you plan to fix that Granger-causality code?

27 Dec 2007 IkkI IkkI

To make it work change col(ss) to size(ss,2)

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
sets H. Sh. G. 22 Oct 2008 09:36:35
subsets H. Sh. G. 22 Oct 2008 09:36:35
member set H. Sh. G. 22 Oct 2008 09:36:35
dimensions H. Sh. G. 22 Oct 2008 09:36:35

Contact us at files@mathworks.com