how to creat function which will have an input integer n. if n positive it will create and return a cell array with strings of random characters of increasing lengths from 1 to n
for example
functionname(4)ans= 'z' 'zf' 'zfk' 'zfke'
and if it negative it will decreasing
many thanks
Best Answer