how to write multiple images using imwrite function

i want to write multiple images using imwrite function i.e. a sequence of files being automatically generated out1.tif,out2.tif ... and so on. Can you tell me the corresponding code

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by