What means ':' in strcat ?
1 view (last 30 days)
Show older comments
Can someone explain me what happens in the code below?
Thank you
j = 1:长度(a)
for k=1:length(b)
c=strcat(a{j},':',b{k});
0 Comments
Answers (1)
Image Analyst
on 21 Sep 2021
It's taking whatever is in a{j} and adding a colon and then whatever is in b{k}. For example if a{j} is 'A1' and b{k} is 'H15' then c would be 'A1:H15'.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!