tag:blogger.com,1999:blog-1619647815507301957.post142729952889730659..comments2024-03-21T13:58:48.997+08:00Comments on Learn something new every day: Load a sequence of images into matlabMihirhttp://www.blogger.com/profile/17917772461380151084noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1619647815507301957.post-86885515175708425482009-12-14T17:36:30.861+08:002009-12-14T17:36:30.861+08:00The way proposed by the previous anonymous is pref...The way proposed by the previous anonymous is preferred, but you should also pre-allocate the images array before the loop starts. <br />Reallocating on each iteration (i.e. the command "images = [images tmp];") could take a lot of time.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1619647815507301957.post-33243283718032742912008-06-21T00:22:00.000+08:002008-06-21T00:22:00.000+08:00if you're interested in processing all the jpeg fi...if you're interested in processing all the jpeg files, you can pass a filter into the dir command: <BR/><BR/>filelist = dir('*.jpg');Anonymousnoreply@blogger.com