fow to generate FCI combination
Show older comments
I am working on "Accurate Cancer Classification Using Expressions of Very Few Genes".I have ranked the gened ,rank is from 1 to 100,I have to do FCI COMBINATION ,(i.e),(1,1),(1,2)...........,(2,7),(2,10).........(100,2),(100,98) like this ,for 100 values,how to process,can any one help...
Answers (1)
Fangjun Jiang
on 16 Sep 2011
Not sure what exactly combination you want, but in general, you can use for-loops:
N=100;
C=cell(N,N);
for k=1:N
for j=1:N
C{k,j}=[k,j];
end
end
C{1,1}
C{100,100}
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!