concatenation by exchange between two matrices
Show older comments
hi I'm trying to do this operation
c =[0 0 1 1 0 0 1 1 0 0 1 1];
d =[0 1 1 0 0 1 1 0 0 1 1 0];
% I need x to be the general concatenation by exchange of
% [c(i) d(i)]....(whatever lengths differ)
%x=[0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 ];
any help
Accepted Answer
More Answers (2)
Azzi Abdelmalek
on 27 Feb 2013
Edited: Azzi Abdelmalek
on 27 Feb 2013
Do you mean
x=[c d]
If not, tell what is th expected output
Asmaa El Gharby
on 28 Feb 2013
Edited: Asmaa El Gharby
on 28 Feb 2013
0 votes
Categories
Find more on Creating and Concatenating Matrices 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!