Hello everyone, My current code is the following:
chooseEquation = 'poggiolini';for att_db=0.18/1e3:0.01/1e3:0.20/1e3dirname =sprintf('C:/Documents and Settings/JAY/My Documents/MATLAB/simplifyCode/data %d',att_db);mkdir(dirname);[ResultsPogQPSK1] = MaxReachAnalytical(chooseEquation ,att_db);fname= sprintf('%s/ result.dat',dirname);save(fname,'ResultsPogQPSK1');endmydata = load(fname);figure(1);plot(mydata.ResultsPogQPSK1.reach*1e-3, -8:0.1:3, '-.b', 'LineWidth', 2); hold on; grid on;
I am getting two errors that I do not understand. They are:
??? Error using ==> loadNumber of columns on line 1 of ASCII file C:/Documents andSettings/JAY/My Documents/MATLAB/simplifyCode/data 2.000000e-004/result.datmust be the same as previous lines.Error in ==> PlotAnalysisCurves at 13mydata = load(fname);
Could someone kindly explain what I am doing wrong? Thank you very much!
Best Answer