Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by florian444

  1. florian444

    Importing data

    Maybe something like ? fid = fopen('yourfile.txt','r'); %skip first 3 lines for i=1:3 line = fscanf(fid,'%s\n'); end n = number of data per set; p = number of set; for j=1:p for i=1:n line = fscanf(fid,'%s\n'); my_data(i,j)=str2num(line); end line = fscanf(fid,'%s\n'); legend{j} =...

Part and Inventory Search