Exporting Least Square fitting data

General forum for EasySpin: questions, how to's, etc.
Post Reply
sg_epr
User
Posts: 28
Joined: Sun Apr 03, 2016 1:18 am

Exporting Least Square fitting data

Post 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
Abbey Philip
User
Posts: 15
Joined: Tue Nov 03, 2015 4:44 am

Re: Exporting Least Square fitting data

Post 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'.
Post Reply