concatenation by exchange between two matrices
显示 更早的评论
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
采纳的回答
更多回答(2 个)
Azzi Abdelmalek
2013-2-27
编辑:Azzi Abdelmalek
2013-2-27
Do you mean
x=[c d]
If not, tell what is th expected output
Asmaa El Gharby
2013-2-28
编辑:Asmaa El Gharby
2013-2-28
0 个投票
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!