MATLAB: How to access multiple images in a single code

faq4.12for loopimage processingImage Processing Toolbox

Hello Mathworks,
My question might sound a little bit odd but what I meant to say was if I have a group of 25 images in a single folder and if I have to calculate say max pixel or min pixel of every image then do I need to write min(x1) min(x2) ….. min(x25) or is there anyway with which I could write a code once and repeat it for other 24 images ?
I have had this doubt for quite a long time so now I am waiting to see some interesting facts 🙂
Thanks All