function  = lanczos(A, m)
A = readmatrix('output1.txt','Whitespace',' ');
here A reads a single text file.
But i wanted A to read multiples text files(may be using for loop) stored in a folder(say graphs) and the function needs to run through all of them and display output for every text file.
can someone help me with this.