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!