MATLAB: How to convert arrays inside the cell array into cells

arraycell in cell;cellsMATLABstringswithout loop.

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
% code
cities =
{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

out = num2cell(cities)