MATLAB: Creating legend based on numeric array

MATLABstring manipulation

I have a numeric array, for example:
N = [1 7 14 30 90 180 360];
I want to create a cell array for use in a figure legend:
legendCell = {'N=1','N=7',...,'N=360'}
This is trivial to do with a loop, and I can think of a couple ways that avoid loops that are a bit kludgy. What is the most elegant way?
[The "N=" part is fixed and known. It does not have to be the variable name.]

Best Answer

One more:
legendCell = cellstr(num2str(N', 'N=%-d'))