From: us on
"hello kaur" <sukhsidhu06(a)gmail.com> wrote in message <hv2fhm$6vp$1(a)fred.mathworks.com>...
> hi , thanks for reply .
> plz help me my problem is
> i have n number of images of same size in a folder . i want to read these images in a matrix of x*y*n . where x is width of image , y is height of image and n is no. of images .
> so that at n=0 we have 1st image , n=1 we have 2nd image and so on.... it will look like a cube

a hint:

http://matlabwiki.mathworks.com/MATLAB_FAQ#How_can_I_process_a_sequence_of_files.3F

us