Info
此问题已关闭。 请重新打开它进行编辑或回答。
About looping and array
2 次查看(过去 30 天)
显示 更早的评论
For example A=(aa bb cc dd) and B=(aa bb xx yy zz) then i want to display like this (xx yy zz)
*A and B are string
How to display like that by using looping only...??
1 个评论
回答(1 个)
KSSV
2018-9-24
A= {'aa' 'bb' 'cc' 'dd'} ;
B={'aa' 'bb' 'xx' 'yy' 'zz'} ;
s = ['(' B{3},',',B{4},',',B{5},')']
0 个评论
此问题已关闭。
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!