Hi,
I'm new to easyspin and matlab. My question is how do I export the simulated spectrum, as excel file, that was generated using esfit. My code is below:
[B,spc] = textread('Test_partial.txt','%f %f');
Exp.mwFreq = 9.48;
Exp.Range = [330 350];
Sys0.S = 3/2;
Sys0.g = 1.99;
Sys0.lw = [0 1];
Vary.g = 0.1;
Vary.lw = [0 0.7];
SimOpt.Method='perturb';
esfit('pepper',spc,Sys0,Vary,Exp);
Exporting simulated data
-
- EasySpin Creator
- Posts: 1120
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: Exporting simulated data
Check out the corresponding section in the documentation.
Re: Exporting simulated data
Hi Stefan
Thanks for your reply. When I save the data using the command below, only experimental data is saved.
data = [B(:) spc(:)];
xlswrite('myfile',data);
Not sure how to save simulated data?
Thanks for your reply. When I save the data using the command below, only experimental data is saved.
data = [B(:) spc(:)];
xlswrite('myfile',data);
Not sure how to save simulated data?
Re: Exporting simulated data
Hi!
I figured how to save simulated data. Thanks!
I figured how to save simulated data. Thanks!
-
- EasySpin Creator
- Posts: 1120
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: Exporting simulated data
Great!
Re: Exporting simulated data
Excellent topic. Great information here. Thank you.