MATLAB: How to save the csv file with different name in a loop after every iteration

digital image processingimage processingMATLAB

I have vector having one column and "x" number of rows(number of rows in each iteration is changed).So,how i can save the vector of every iteration.
csvwrite('im%k.csv',b')

Best Answer

csvwrite( sprintf('im%d.csv',k), b')