Show older comments
i use the command a=perms([1,2,3,4]) ; and then may i have b11= 1,2 and b12= 3,4 b21=1,3 and b22 =2,4 b31=1,4 and b32= 2,3 plz explaine to me ??? thz for all
Answers (2)
Andrei Bobrov
on 16 Apr 2012
nchoosek(1:4,2)
ON ko thant's answer
eg:
t = nchoosek(1:6,3);
p = 2;
A = t*[1;p;p^2];
A = reshape(A,[],2);
A = [A(:,1) A(end:-1:1,2)];
ko thant
on 17 Apr 2012
0 votes
3 Comments
Walter Roberson
on 17 Apr 2012
I don't understand your notation?
ko thant
on 17 Apr 2012
ko thant
on 17 Apr 2012
Categories
Find more on Dates and Time 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!