Page 1 of 1

Exporting Least Square fitting data

Posted: Thu May 05, 2016 12:32 pm
by sg_epr
I want to export the simulated data after L-S fitting (esfit) in *.txt format. When I tried

Code: Select all

 S2 = [B(:) spc(:)];
save(XYZ.txt','S2','-ascii');
the generated text file had only the experimental data, not the simulated one. Would appreciate any suggestion. Thanks

Re: Exporting Least Square fitting data

Posted: Wed May 11, 2016 7:00 am
by Abbey Philip
I'm not an EPR expert, however the complete code might be somewhat helpful for finding any errors.

Also, there seem to be a apostrophe missing before the name of the text file, i.e. 'XYX.txt'.