if I have a cell array:
% code
cities = 'city1' 'city2' 'city3' 'city4' 'city5'
I want my cell to include cells that include the strings inside like that
% codecities = {1x1 cell} {1x1 cell} {1x1 cell} {1x1 cell} {1x1 cell}
for example in the 3rd cell inside my cell array there is
% code{1x1 cell}% inside of it --> 'city3'
without using any kind of loop! (cause I can do it without any real problam with a loop)
Best Answer