What means ':' in strcat ?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ioannis Vourvachakis
el 21 de Sept. de 2021
Comentada: Ioannis Vourvachakis
el 21 de Sept. de 2021
Can someone explain me what happens in the code below?
Thank you
for j=1:length(a)
for k=1:length(b)
c=strcat(a{j},':',b{k});
0 comentarios
Respuestas (1)
Image Analyst
el 21 de Sept. de 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'.
Ver también
Categorías
Más información sobre Loops and Conditional Statements en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!