Rank: 123776 based on 0 downloads (last 30 days) and 0 file submitted
photo

Russell

E-mail
Lat/Long
42.358334, -71.06028

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Russell
Updated File Comments Rating
04 Aug 2009 REPLICATE Create a larger array by expanding each element of an array into a subarray. Author: Mark Ruzon

I used replicate.m to generate some padding on a string cell array.

AA = {'blank'};
myLabels = {'fish','beer'};
myLabels = [ myLabels (replicate (AA,1,3)) ]
myLabels =
'fish' 'beer' 'blank' 'blank' 'blank'

Contact us