Hello,
I was trying to do the fitting of my sample under 60K which might have two sets of triplets with different population distribution.
I can vary the population by the user-defined fitting function for only one triplet system.
How can I vary the other one simultaneously during the fitting?
Below are the script and the user-defined fitting function. Thank you very much!!
clear, clc, clf
[B,Spec] = textread('Ben.txt','%f %f');
Sys.S = 1;
Sys.g = 2.005;
D=-2720;
E=400;
D2=-10000;
E2=600;
Sys.D = [D,E];
Sys2.D = [D2,E2];
Sys.lwpp = 5 ;
Vary.Temperature = [2 2 2];
Sys.Temperature =[2 2 3];
Vary2.Temperature = [2 2 2]; ???????????????????
Sys2.Temperature =[2 2 3]; ????????????????
Xband.mwFreq = 9.737974;
Xband.Mode = 'perpendicular';
Opt = struct('Verbosity',1);
Opt.nKnots = 31;
hold on
esfit('mymy',Spec,Sys,Vary,Xband);
/////////////////////////////
function y = mymy(Sys,Exp,Opt);
Exp.Temperature = Sys.Temperature;
[x,y] = pepper(Sys,Exp,Opt);