You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
multiple variables fitting with lsqnonlin
1 view (last 30 days)
Show older comments
my curve fitting with lsqnonlin has poor fit. what is wrong?
clear;
X0 = [0.1; 0.1; 0.1; 0.1];
no = 520;
no_data = 520;
H_total = 0;
time = load('time_BS19.m');
dqdt = load('Q_BS19.m');
temp = load('temp_BS19.m');
baseline = zeros(no,1);
alpha = zeros(no,1);
dadt = zeros(no,1);
gradient = ( dqdt(no,1) - dqdt(1,1) ) / ( time(no,1) - time(1,1) );
for i = 1 : no
baseline(i,1) = dqdt(1,1) + gradient * ( time(i,1) - time(1,1) );
end
for i = 2 : no
H_total = H_total + ( dqdt(i,1) - baseline(i,1) ) * ( time(i,1) - time(i-1,1) ) ;
end
for i = 2 : no
alpha(i,1) = alpha(i-1,1) + ( ( dqdt(i,1) - baseline(i,1) ) * ( time(i,1) - time(i-1,1) ) ) / H_total;
end
for i = 1 : no
dqdt(i,1) = dqdt(i,1) - baseline(i,1);
end
for i = 1 : no
dadt(i,1) = dqdt(i,1) / H_total;
end
for i = 1 : no_data
X(i,1) = alpha( (i-1)*1+1 ,1);
Y(i,1) = dadt( (i-1)*1+1 ,1);
end
X(1,1) = alpha(1,1)+0.00001;
X(no_data,1) = alpha(no,1)-0.00001;
Y(no_data,1) = dadt(no,1);
options = optimset ('Largescale','off');
x=lsqnonlin(@fitting_epoxy_isothermal,X0,[],[],options,X,Y);
xt=real(x);
x=xt;
Y_sim = ( x(1) + x(2) * (alpha).^ x(3)).* ( 1-alpha).^ (x(4));
alpha_sim(1,1) = 0;
for i = 2 : no
alpha_sim(i,1) = alpha_sim(i-1,1) + Y_sim(i,1) * ( time(i,1) - time(i-1,1) ) ;
end
sr=187.5; % shear rate (s^-1)
macosko_0=[3*10^(-9), 6000, 10^(9), 0.2, 0.6, 2, -0.1]; % B, Tb, tau*, n, alpha_g(>alpha), c1, c2
no_ext=702; % alpha > 0 이 되는 부분 앞으로 배열요소 확장(점도측정 시작지점)
temp_ext=load('temp_BS19_ext.m');
alpha_ext=zeros(no_ext,1);
time_ext=load('time_BS19_ext.m');
eta_ext=load('eta_BS19_ext.m');
temp_ext=temp_ext+273.15;
for i=1:(no_ext-no)
alpha_ext(i)=0;
end
for i=(no_ext-no+1):no_ext % 배열요소 확장
alpha_ext(i)=alpha(i-(no_ext-no));
end
options = optimset ('Largescale','off','Display','iter');
% options = optimset ('FunValCheck','on');
%[macosko] = lsqnonlin(@(macosko)fitting_macosko(macosko,temp_ext,alpha_ext,eta_ext),macosko_0);
macosko=lsqnonlin(@fitting_macosko,macosko_0,[],[],options,temp_ext,alpha_ext,eta_ext);
mt=real(macosko);
macosko=mt;
eta_sim=zeros(no_ext,1);
% eta_sim=macosko(1)*exp(macosko(2)./temp_ext)./(1+(macosko(1)*exp(macosko(2)./temp_ext)*sr/macosko(3))).^(1-macosko(4)).*(macosko(5)/(macosko(5)-alpha_ext)).^(macosko(6)+macosko(7).*alpha_ext);
for i=1:no_ext
eta_sim(i) = macosko(1)*exp(macosko(2)./temp_ext(i))./(1+((macosko(1)*exp(macosko(2)./temp_ext(i))*sr/macosko(3)).^(1-macosko(4)))).*(macosko(5)/(macosko(5)-alpha_ext(i))).^(macosko(6)+macosko(7).*alpha_ext(i));
end
plot3(temp_ext,alpha_ext,eta_ext,'bo')
hold on
plot3(temp_ext',alpha_ext,eta_sim,'r')
figure(5)
semilogy(temp_ext, eta_ext, 'bo', temp_ext, eta_sim, 'r')
xlabel('temp (K)');
ylabel('viscosity (Pa.s)');
% grid on;
my objective function is
function parameters = fitting_epoxy_isothermal(x,X,Y)
parameters = ( x(1) + x(2) * X.^ x(3) ).* ( 1-X ).^ (x(4)) - Y;
function parameter = fitting_macosko(macosko,temp_ext,alpha_ext,eta_ext) % alpha_rheo 의 앞 배열을 0으로 확장 필요
sr=187.5; % shear rate (s^(-1)) 기입
parameter = macosko(1)*exp(macosko(2)./temp_ext)./(1+((macosko(1)*exp(macosko(2)./temp_ext)*sr/macosko(3)).^(1-macosko(4)))).*(macosko(5)/(macosko(5)-alpha_ext)).^(macosko(6)+macosko(7).*alpha_ext)-eta_ext;
5 Comments
Adam Danz
on 27 Sep 2019
Edited: Adam Danz
on 27 Sep 2019
We don't have the 3 m files you are loading so we can't run the code.
Have you tried fitting with upper and lower bounds?
Also, I see two lsqnonlin() fits; is there a particular one you're focusing on or are both a concern?
Yongchul Shin
on 27 Sep 2019
eta_ext
1920.70000000000
1902.70000000000
1884.90000000000
1865.70000000000
1849.90000000000
1835.60000000000
1825.80000000000
1810.70000000000
1803.70000000000
1795.60000000000
1783.20000000000
1769.20000000000
1755
1752.80000000000
1752.70000000000
1743.50000000000
1727.90000000000
1712.30000000000
1697.70000000000
1684.90000000000
1673
1659.70000000000
1644.60000000000
1627.90000000000
1612.10000000000
1600.30000000000
1593.10000000000
1586.30000000000
1584
1586.90000000000
1586.20000000000
1583.40000000000
1573.50000000000
1564.90000000000
1559.60000000000
1545.90000000000
1532.30000000000
1520.50000000000
1510
1496.90000000000
1489.60000000000
1482.90000000000
1476.20000000000
1473.50000000000
1465.70000000000
1451.90000000000
1441.30000000000
1427.50000000000
1415.90000000000
1417
1413.60000000000
1417.30000000000
1411.40000000000
1404.50000000000
1400.40000000000
1388.30000000000
1379.30000000000
1383.60000000000
1384.50000000000
1382.80000000000
1376.60000000000
1365.40000000000
1369.50000000000
1365.60000000000
1357.80000000000
1345.20000000000
1332.90000000000
1324.20000000000
1328.10000000000
1341.70000000000
1341.30000000000
1340.90000000000
1337.20000000000
1328.80000000000
1318.60000000000
1309.10000000000
1302.80000000000
1295.30000000000
1289
1287.80000000000
1287.70000000000
1284.20000000000
1280.20000000000
1273.10000000000
1265.20000000000
1260.70000000000
1260.10000000000
1264.70000000000
1265.20000000000
1260.80000000000
1256.60000000000
1250.20000000000
1247.60000000000
1248.20000000000
1243.50000000000
1237.50000000000
1229.50000000000
1225.10000000000
1220.40000000000
1220.90000000000
1216.30000000000
1209.10000000000
1205
1200.70000000000
1195.50000000000
1192.20000000000
1187
1184
1179.20000000000
1178.30000000000
1181.70000000000
1178.30000000000
1172.10000000000
1167
1159.10000000000
1153.60000000000
1149.80000000000
1146.30000000000
1144.40000000000
1139
1133.20000000000
1128.60000000000
1123.90000000000
1121
1118.30000000000
1117.50000000000
1118.50000000000
1117.20000000000
1118.70000000000
1124.80000000000
1126.80000000000
1124.40000000000
1118.40000000000
1113.80000000000
1110.30000000000
1106.80000000000
1101.40000000000
1098
1095
1091
1087
1083.10000000000
1081.80000000000
1080.20000000000
1074.90000000000
1077.70000000000
1075.80000000000
1072.80000000000
1069
1068.10000000000
1065
1061.10000000000
1057.60000000000
1055
1051.60000000000
1048.30000000000
1046.90000000000
1044.40000000000
1041.90000000000
1038
1033.80000000000
1029
1024.60000000000
1020.70000000000
1018.30000000000
1014.40000000000
1013.50000000000
1013.30000000000
1010.10000000000
1010
1008.10000000000
1005
1003.50000000000
999.950000000000
996.510000000000
993.550000000000
989.540000000000
985.620000000000
982.560000000000
978.690000000000
974.220000000000
973.510000000000
975.150000000000
974.510000000000
971.790000000000
969.640000000000
967.130000000000
963.990000000000
961.060000000000
957.510000000000
955.610000000000
953.770000000000
952.240000000000
951.140000000000
949.360000000000
948.820000000000
948.830000000000
947.160000000000
945.580000000000
943.080000000000
942.620000000000
940.670000000000
938.950000000000
936.990000000000
935.610000000000
933.430000000000
931.370000000000
929.960000000000
926.070000000000
922.930000000000
920.210000000000
918.310000000000
916.800000000000
914.510000000000
912.130000000000
909.600000000000
906.500000000000
903.820000000000
901.030000000000
898.860000000000
898.140000000000
895.390000000000
892.710000000000
889.410000000000
886.240000000000
884.890000000000
882.510000000000
879.910000000000
876.980000000000
874.640000000000
872.840000000000
870.050000000000
866.640000000000
867.380000000000
865.200000000000
862.410000000000
859.960000000000
857.250000000000
854.510000000000
851.880000000000
849.770000000000
847.200000000000
844.400000000000
841.560000000000
839.250000000000
836.150000000000
834.490000000000
831.590000000000
829.170000000000
826.910000000000
824.270000000000
823.050000000000
820.770000000000
818.300000000000
817.620000000000
815.730000000000
813.410000000000
810.990000000000
809.290000000000
806.730000000000
804.820000000000
802.810000000000
800
798.150000000000
796.570000000000
795.110000000000
792.670000000000
790.370000000000
788.610000000000
787.130000000000
784.600000000000
782.510000000000
780.460000000000
779.010000000000
777.340000000000
776.280000000000
775.430000000000
773.320000000000
771.240000000000
769.460000000000
767.310000000000
765.330000000000
763.430000000000
762.100000000000
760.180000000000
758.280000000000
756.330000000000
754.570000000000
752.210000000000
750.750000000000
748.590000000000
747.490000000000
745.490000000000
744.150000000000
742.660000000000
740.560000000000
738.180000000000
737.240000000000
735.230000000000
734.050000000000
732.290000000000
730.130000000000
728.970000000000
727.540000000000
726.750000000000
724.840000000000
723.740000000000
722.350000000000
720.210000000000
718.890000000000
717.120000000000
715.530000000000
714.640000000000
713.810000000000
712.200000000000
711.050000000000
710.400000000000
710.170000000000
708.880000000000
709.680000000000
709.010000000000
708.540000000000
707.390000000000
705.610000000000
704.300000000000
702.580000000000
700.810000000000
699.740000000000
698.380000000000
696.800000000000
694.970000000000
693.550000000000
692.600000000000
690.870000000000
689.800000000000
688.060000000000
686.780000000000
685.580000000000
683.930000000000
682.770000000000
681.940000000000
680.350000000000
678.970000000000
678.040000000000
676.670000000000
674.960000000000
673.090000000000
672.090000000000
670.960000000000
669.330000000000
667.760000000000
666.030000000000
665.340000000000
663.880000000000
662.710000000000
661.970000000000
660.040000000000
657.950000000000
656.410000000000
654.610000000000
653.930000000000
652.120000000000
650.610000000000
648.970000000000
646.950000000000
645.750000000000
643.760000000000
642.330000000000
641.040000000000
639.900000000000
638.060000000000
637.030000000000
635.220000000000
633.400000000000
632.640000000000
631.430000000000
629.780000000000
628.120000000000
626.800000000000
625.630000000000
623.570000000000
621.950000000000
620.190000000000
619.120000000000
617.340000000000
616.280000000000
614.850000000000
612.810000000000
611
609.220000000000
608.640000000000
607.400000000000
605.710000000000
604.410000000000
603.480000000000
601.520000000000
599.460000000000
598.160000000000
597.300000000000
595.890000000000
594.330000000000
592.820000000000
591.380000000000
589.400000000000
587.440000000000
586.040000000000
584.930000000000
583.640000000000
581.810000000000
580.530000000000
579.600000000000
577.900000000000
576.550000000000
574.610000000000
573.670000000000
572.210000000000
570.950000000000
569.670000000000
568.040000000000
566.450000000000
564.850000000000
563.710000000000
562.880000000000
561.400000000000
559.550000000000
558.340000000000
557.380000000000
555.800000000000
555.210000000000
554.240000000000
552.790000000000
551.140000000000
550
548.640000000000
547.140000000000
545.430000000000
543.680000000000
542.720000000000
541.580000000000
539.660000000000
538.010000000000
536.630000000000
534.710000000000
533.250000000000
531.480000000000
530.220000000000
528.100000000000
526.600000000000
524.930000000000
522.870000000000
521.090000000000
519.580000000000
517.930000000000
516.790000000000
514.910000000000
513.140000000000
511.810000000000
509.850000000000
508.580000000000
506.960000000000
505.200000000000
503.900000000000
502.020000000000
500.540000000000
498.630000000000
496.850000000000
495.900000000000
494.170000000000
492.410000000000
490.840000000000
489.430000000000
487.570000000000
486.240000000000
485.040000000000
483.150000000000
481.530000000000
480.070000000000
478.250000000000
476.330000000000
475.390000000000
473.980000000000
472.320000000000
470.750000000000
469.240000000000
467.750000000000
466.620000000000
464.560000000000
463.510000000000
461.990000000000
460.420000000000
458.620000000000
457.680000000000
456.180000000000
454.570000000000
453.160000000000
451.440000000000
450.150000000000
448.380000000000
447.090000000000
445.430000000000
443.650000000000
442.360000000000
440.820000000000
439.030000000000
437.480000000000
436.160000000000
434.570000000000
432.960000000000
431.280000000000
429.180000000000
427.600000000000
426.280000000000
424.500000000000
422.380000000000
420.850000000000
419.090000000000
416.860000000000
414.500000000000
413.030000000000
410.930000000000
408.570000000000
406.300000000000
403.730000000000
401.120000000000
399.180000000000
397.790000000000
397.140000000000
397.130000000000
396.120000000000
394.930000000000
393.620000000000
393.170000000000
393.900000000000
393.930000000000
393.650000000000
392.790000000000
392.890000000000
392.590000000000
392
392.230000000000
392.210000000000
391.800000000000
391.860000000000
391.610000000000
391.130000000000
391.050000000000
389.510000000000
389.640000000000
389.820000000000
388.710000000000
390.730000000000
393.530000000000
396.360000000000
397.990000000000
399.070000000000
400.240000000000
400.980000000000
402.060000000000
403.660000000000
407.190000000000
410.200000000000
414.320000000000
417.810000000000
421.170000000000
424.390000000000
427.560000000000
431.140000000000
436.130000000000
442.550000000000
448.070000000000
454.040000000000
460.640000000000
468.410000000000
476.090000000000
485.240000000000
495.010000000000
504.240000000000
515.020000000000
525.710000000000
537.950000000000
551.830000000000
565.570000000000
580.270000000000
597.890000000000
617.130000000000
639.090000000000
662.920000000000
688.900000000000
717.780000000000
750.510000000000
788.020000000000
829.860000000000
877.540000000000
932.410000000000
995.890000000000
1068.90000000000
1153
1251.10000000000
1361.30000000000
1483.80000000000
1618.70000000000
1762.70000000000
1917.30000000000
2081.20000000000
2253.70000000000
2437.90000000000
2637.80000000000
2853.40000000000
3089.10000000000
3348.60000000000
3637.40000000000
3957.80000000000
4316.40000000000
4719.40000000000
5171.40000000000
5681.50000000000
6251.40000000000
6888.70000000000
7587.40000000000
8340.90000000000
9153.50000000000
10025
10926
11797
12678
13646
14850
16306
17971
19839
21929
24237
26780
29624
32801
36277
40081
44121
48442
53034
57893
63000
68299
73694
79222
84706
90142
95335
100000
105000
110000
114000
118000
122000
125000
128000
131000
133000
136000
138000
140000
141000
143000
144000
146000
147000
148000
149000
150000
151000
151000
152000
153000
153000
154000
154000
155000
155000
156000
156000
156000
157000
157000
157000
157000
158000
158000
158000
159000
159000
159000
159000
159000
159000
160000
160000
160000
160000
160000
160000
160000
160000
Yongchul Shin
on 27 Sep 2019
temp_ext
353.317000000000
353.483000000000
353.650000000000
353.817000000000
353.983000000000
354.150000000000
354.317000000000
354.483000000000
354.650000000000
354.817000000000
354.983000000000
355.150000000000
355.317000000000
355.483000000000
355.650000000000
355.817000000000
355.983000000000
356.150000000000
356.317000000000
356.483000000000
356.650000000000
356.817000000000
356.983000000000
357.150000000000
357.317000000000
357.483000000000
357.650000000000
357.817000000000
357.983000000000
358.150000000000
358.317000000000
358.483000000000
358.650000000000
358.817000000000
358.983000000000
359.150000000000
359.317000000000
359.483000000000
359.650000000000
359.817000000000
359.983000000000
360.150000000000
360.317000000000
360.483000000000
360.650000000000
360.817000000000
360.983000000000
361.150000000000
361.317000000000
361.483000000000
361.650000000000
361.817000000000
361.983000000000
362.150000000000
362.317000000000
362.483000000000
362.650000000000
362.817000000000
362.983000000000
363.150000000000
363.317000000000
363.483000000000
363.650000000000
363.817000000000
363.983000000000
364.150000000000
364.317000000000
364.483000000000
364.650000000000
364.817000000000
364.983000000000
365.150000000000
365.317000000000
365.483000000000
365.650000000000
365.817000000000
365.983000000000
366.150000000000
366.317000000000
366.483000000000
366.650000000000
366.817000000000
366.983000000000
367.150000000000
367.317000000000
367.483000000000
367.650000000000
367.817000000000
367.983000000000
368.150000000000
368.317000000000
368.483000000000
368.650000000000
368.817000000000
368.983000000000
369.150000000000
369.317000000000
369.483000000000
369.650000000000
369.817000000000
369.983000000000
370.150000000000
370.317000000000
370.483000000000
370.650000000000
370.817000000000
370.983000000000
371.150000000000
371.317000000000
371.483000000000
371.650000000000
371.817000000000
371.983000000000
372.150000000000
372.317000000000
372.483000000000
372.650000000000
372.817000000000
372.983000000000
373.150000000000
373.317000000000
373.483000000000
373.650000000000
373.817000000000
373.983000000000
374.150000000000
374.317000000000
374.483000000000
374.650000000000
374.817000000000
374.983000000000
375.150000000000
375.317000000000
375.483000000000
375.650000000000
375.817000000000
375.983000000000
376.150000000000
376.317000000000
376.483000000000
376.650000000000
376.817000000000
376.983000000000
377.150000000000
377.317000000000
377.483000000000
377.650000000000
377.817000000000
377.983000000000
378.150000000000
378.317000000000
378.483000000000
378.650000000000
378.817000000000
378.983000000000
379.150000000000
379.317000000000
379.483000000000
379.650000000000
379.817000000000
379.983000000000
380.150000000000
380.317000000000
380.483000000000
380.650000000000
380.817000000000
380.983000000000
381.150000000000
381.317000000000
381.483000000000
381.650000000000
381.817000000000
381.983000000000
382.150000000000
382.317000000000
382.483000000000
382.650000000000
382.817000000000
382.983000000000
383.150000000000
383.317000000000
383.483000000000
383.650000000000
383.817000000000
383.983000000000
384.150000000000
384.317000000000
384.483000000000
384.650000000000
384.817000000000
384.983000000000
385.150000000000
385.317000000000
385.483000000000
385.650000000000
385.817000000000
385.983000000000
386.150000000000
386.317000000000
386.483000000000
386.650000000000
386.817000000000
386.983000000000
387.150000000000
387.317000000000
387.483000000000
387.650000000000
387.817000000000
387.983000000000
388.150000000000
388.317000000000
388.483000000000
388.650000000000
388.817000000000
388.983000000000
389.150000000000
389.317000000000
389.483000000000
389.650000000000
389.817000000000
389.983000000000
390.150000000000
390.317000000000
390.483000000000
390.650000000000
390.817000000000
390.983000000000
391.150000000000
391.317000000000
391.483000000000
391.650000000000
391.817000000000
391.983000000000
392.150000000000
392.317000000000
392.483000000000
392.650000000000
392.817000000000
392.983000000000
393.150000000000
393.317000000000
393.483000000000
393.650000000000
393.817000000000
393.983000000000
394.150000000000
394.317000000000
394.483000000000
394.650000000000
394.817000000000
394.983000000000
395.150000000000
395.317000000000
395.483000000000
395.650000000000
395.817000000000
395.983000000000
396.150000000000
396.317000000000
396.483000000000
396.650000000000
396.817000000000
396.983000000000
397.150000000000
397.317000000000
397.483000000000
397.650000000000
397.817000000000
397.983000000000
398.150000000000
398.317000000000
398.483000000000
398.650000000000
398.817000000000
398.983000000000
399.150000000000
399.317000000000
399.483000000000
399.650000000000
399.817000000000
399.983000000000
400.150000000000
400.317000000000
400.483000000000
400.650000000000
400.817000000000
400.983000000000
401.150000000000
401.317000000000
401.483000000000
401.650000000000
401.817000000000
401.983000000000
402.150000000000
402.317000000000
402.483000000000
402.650000000000
402.817000000000
402.983000000000
403.150000000000
403.317000000000
403.483000000000
403.650000000000
403.817000000000
403.983000000000
404.150000000000
404.317000000000
404.483000000000
404.650000000000
404.817000000000
404.983000000000
405.150000000000
405.317000000000
405.483000000000
405.650000000000
405.817000000000
405.983000000000
406.150000000000
406.317000000000
406.483000000000
406.650000000000
406.817000000000
406.983000000000
407.150000000000
407.317000000000
407.483000000000
407.650000000000
407.817000000000
407.983000000000
408.150000000000
408.317000000000
408.483000000000
408.650000000000
408.817000000000
408.983000000000
409.150000000000
409.317000000000
409.483000000000
409.650000000000
409.817000000000
409.983000000000
410.150000000000
410.317000000000
410.483000000000
410.650000000000
410.817000000000
410.983000000000
411.150000000000
411.317000000000
411.483000000000
411.650000000000
411.817000000000
411.983000000000
412.150000000000
412.317000000000
412.483000000000
412.650000000000
412.817000000000
412.983000000000
413.150000000000
413.317000000000
413.483000000000
413.650000000000
413.817000000000
413.983000000000
414.150000000000
414.317000000000
414.483000000000
414.650000000000
414.817000000000
414.983000000000
415.150000000000
415.317000000000
415.483000000000
415.650000000000
415.817000000000
415.983000000000
416.150000000000
416.317000000000
416.483000000000
416.650000000000
416.817000000000
416.983000000000
417.150000000000
417.317000000000
417.483000000000
417.650000000000
417.817000000000
417.983000000000
418.150000000000
418.317000000000
418.483000000000
418.650000000000
418.817000000000
418.983000000000
419.150000000000
419.317000000000
419.483000000000
419.650000000000
419.817000000000
419.983000000000
420.150000000000
420.317000000000
420.483000000000
420.650000000000
420.817000000000
420.983000000000
421.150000000000
421.317000000000
421.483000000000
421.650000000000
421.817000000000
421.983000000000
422.150000000000
422.317000000000
422.483000000000
422.650000000000
422.817000000000
422.983000000000
423.150000000000
423.317000000000
423.483000000000
423.650000000000
423.817000000000
423.983000000000
424.150000000000
424.317000000000
424.483000000000
424.650000000000
424.817000000000
424.983000000000
425.150000000000
425.317000000000
425.483000000000
425.650000000000
425.817000000000
425.983000000000
426.150000000000
426.317000000000
426.483000000000
426.650000000000
426.817000000000
426.983000000000
427.150000000000
427.317000000000
427.483000000000
427.650000000000
427.817000000000
427.983000000000
428.150000000000
428.317000000000
428.483000000000
428.650000000000
428.817000000000
428.983000000000
429.150000000000
429.317000000000
429.483000000000
429.650000000000
429.817000000000
429.983000000000
430.150000000000
430.317000000000
430.483000000000
430.650000000000
430.817000000000
430.983000000000
431.150000000000
431.317000000000
431.483000000000
431.650000000000
431.817000000000
431.983000000000
432.150000000000
432.317000000000
432.483000000000
432.650000000000
432.817000000000
432.983000000000
433.150000000000
433.317000000000
433.483000000000
433.650000000000
433.817000000000
433.983000000000
434.150000000000
434.317000000000
434.483000000000
434.650000000000
434.817000000000
434.983000000000
435.150000000000
435.317000000000
435.483000000000
435.650000000000
435.817000000000
435.983000000000
436.150000000000
436.317000000000
436.483000000000
436.650000000000
436.817000000000
436.983000000000
437.150000000000
437.317000000000
437.483000000000
437.650000000000
437.817000000000
437.983000000000
438.150000000000
438.317000000000
438.483000000000
438.650000000000
438.817000000000
438.983000000000
439.150000000000
439.317000000000
439.483000000000
439.650000000000
439.817000000000
439.983000000000
440.150000000000
440.317000000000
440.483000000000
440.650000000000
440.817000000000
440.983000000000
441.150000000000
441.317000000000
441.483000000000
441.650000000000
441.817000000000
441.983000000000
442.150000000000
442.317000000000
442.483000000000
442.650000000000
442.817000000000
442.983000000000
443.150000000000
443.317000000000
443.483000000000
443.650000000000
443.817000000000
443.983000000000
444.150000000000
444.317000000000
444.483000000000
444.650000000000
444.817000000000
444.983000000000
445.150000000000
445.317000000000
445.483000000000
445.650000000000
445.817000000000
445.983000000000
446.150000000000
446.317000000000
446.483000000000
446.650000000000
446.817000000000
446.983000000000
447.150000000000
447.317000000000
447.483000000000
447.650000000000
447.817000000000
447.983000000000
448.150000000000
448.317000000000
448.483000000000
448.650000000000
448.817000000000
448.983000000000
449.150000000000
449.317000000000
449.483000000000
449.650000000000
449.817000000000
449.983000000000
450.150000000000
450.317000000000
450.483000000000
450.650000000000
450.817000000000
450.983000000000
451.150000000000
451.317000000000
451.483000000000
451.650000000000
451.817000000000
451.983000000000
452.150000000000
452.317000000000
452.483000000000
452.650000000000
452.817000000000
452.983000000000
453.150000000000
453.317000000000
453.483000000000
453.650000000000
453.817000000000
453.983000000000
454.150000000000
454.317000000000
454.483000000000
454.650000000000
454.817000000000
454.983000000000
455.150000000000
455.317000000000
455.483000000000
455.650000000000
455.817000000000
455.983000000000
456.150000000000
456.317000000000
456.483000000000
456.650000000000
456.817000000000
456.983000000000
457.150000000000
457.317000000000
457.483000000000
457.650000000000
457.817000000000
457.983000000000
458.150000000000
458.317000000000
458.483000000000
458.650000000000
458.817000000000
458.983000000000
459.150000000000
459.317000000000
459.483000000000
459.650000000000
459.817000000000
459.983000000000
460.150000000000
460.317000000000
460.483000000000
460.650000000000
460.817000000000
460.983000000000
461.150000000000
461.317000000000
461.483000000000
461.650000000000
461.817000000000
461.983000000000
462.150000000000
462.317000000000
462.483000000000
462.650000000000
462.817000000000
462.983000000000
463.150000000000
463.317000000000
463.483000000000
463.650000000000
463.817000000000
463.983000000000
464.150000000000
464.317000000000
464.483000000000
464.650000000000
464.817000000000
464.983000000000
465.150000000000
465.317000000000
465.483000000000
465.650000000000
465.817000000000
465.983000000000
466.150000000000
466.317000000000
466.483000000000
466.650000000000
466.817000000000
466.983000000000
467.150000000000
467.317000000000
467.483000000000
467.650000000000
467.817000000000
467.983000000000
468.150000000000
468.317000000000
468.483000000000
468.650000000000
468.817000000000
468.983000000000
469.150000000000
469.317000000000
469.483000000000
469.650000000000
469.817000000000
469.983000000000
470.150000000000
Yongchul Shin
on 27 Sep 2019
alpha_ext
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-8.51509950647203e-07
-2.38531056841000e-06
-4.41759470048706e-06
-6.98337323312600e-06
-1.00913988878887e-05
-1.36979080569657e-05
-1.78758400867063e-05
-2.26427004202346e-05
-2.81531204718128e-05
-3.45150504740379e-05
-4.16847268191004e-05
-4.95308586835703e-05
-5.80738690844258e-05
-6.71678793289670e-05
-7.66611755767868e-05
-8.65012414985131e-05
-9.59966120907494e-05
-0.000105360270244837
-0.000114621391699316
-0.000123704119533983
-0.000132342954528124
-0.000140724621408395
-0.000148951235259686
-0.000157133663888448
-0.000165318588476344
-0.000173491421154107
-0.000181596728018509
-0.000189596580609448
-0.000197493896500778
-0.000205396625925098
-0.000213225994388349
-0.000221107457566254
-0.000229078943918913
-0.000237105442560080
-0.000245271563131519
-0.000253469355400633
-0.000261727995105962
-0.000269919108997931
-0.000278141894587575
-0.000286650180800191
-0.000295619022067020
-0.000305007572354105
-0.000315014226683517
-0.000325994929065445
-0.000338133486652689
-0.000351622459319613
-0.000366514363395588
-0.000382724589238850
-0.000400031401236495
-0.000418294755843530
-0.000437473807026001
-0.000457533543897658
-0.000478500224623189
-0.000499842850761166
-0.000521651867101064
-0.000544006048136939
-0.000566890805999522
-0.000590384915182870
-0.000614473787817715
-0.000639236198398113
-0.000664823860764472
-0.000691315549410850
-0.000718658748007876
-0.000746631720942645
-0.000775056496210065
-0.000803991425287214
-0.000833351898532328
-0.000862974531809582
-0.000892809726363459
-0.000922431516411275
-0.000951594825749296
-0.000980083753912326
-0.00100687131490376
-0.00103165699861663
-0.00105312497924280
-0.00107142697062266
-0.00108949805205335
-0.00110986192491855
-0.00113260903400774
-0.00115647898741600
-0.00118151263117729
-0.00120771288286545
-0.00123401482802379
-0.00126061686167437
-0.00128764152191906
-0.00131518217112119
-0.00134262903634527
-0.00137014841930098
-0.00139771114424978
-0.00142524427184532
-0.00145224889695858
-0.00147894675520244
-0.00150535535202004
-0.00153143384137742
-0.00155682336169054
-0.00157891560193393
-0.00152925260919749
-0.00128424011987838
-0.00104564587142333
-0.000867695891482662
-0.000746573993455353
-0.000669264880378738
-0.000613107756128855
-0.000569548294165795
-0.000534507726241676
-0.000507064099018636
-0.000483030694016196
-0.000461797738298869
-0.000442837150999085
-0.000425002325592223
-0.000407035787747212
-0.000389494794070166
-0.000371372781581456
-0.000351995790720811
-0.000328662148099432
-0.000302547635980479
-0.000273909000863103
-0.000242798759076677
-0.000208866801758720
-0.000172323194226721
-0.000133293392156401
-9.17248792183881e-05
-4.75855621002884e-05
-8.90028671372121e-07
4.84375779885647e-05
0.000100548971719930
0.000171622099543115
0.000329519729301997
0.000610749462631594
0.000928962783749125
0.00121170466356453
0.00147253306777731
0.00171987394967780
0.00195950994064461
0.00219602163162851
0.00243025803662102
0.00266425853974607
0.00289874086417175
0.00313440522762302
0.00337096570786218
0.00360868780410995
0.00384777282896225
0.00408929444959736
0.00433317972666892
0.00457979335690868
0.00482943585042360
0.00508286869398958
0.00533960173519915
0.00559959996316605
0.00586298008084445
0.00612986754391007
0.00640029736324915
0.00667435123092961
0.00695213417961020
0.00723417137258462
0.00752037528263727
0.00781088011816542
0.00810576465366313
0.00840590999643431
0.00871118193808168
0.00902162715978689
0.00933749365532754
0.00965879309499905
0.00998600396091346
0.0103189745392304
0.0106578769668072
0.0110028892156490
0.0113543789000613
0.0117124335472599
0.0120770035584892
0.0124482581530326
0.0128271601302621
0.0132139166379213
0.0136084489015161
0.0140106548059616
0.0144229121739488
0.0148444653538496
0.0152754164607488
0.0157159172084868
0.0161674001258260
0.0166298418721755
0.0171033620680634
0.0175880278176882
0.0180852337213522
0.0185945771538635
0.0191160785382391
0.0196498633301548
0.0201967455327157
0.0207569556342564
0.0213310363035137
0.0219194951983382
0.0225229625146824
0.0231420392727601
0.0237788173730248
0.0244339270114288
0.0251079925487769
0.0258009585511659
0.0265132568195262
0.0272450740785844
0.0279974927482403
0.0287706703774822
0.0295652371622624
0.0303817036780054
0.0312210327240829
0.0320837377934934
0.0329706533123591
0.0338833285123964
0.0348234322458498
0.0357914050663712
0.0367879676147027
0.0378141118659545
0.0388705730487378
0.0399603562641223
0.0410834615121081
0.0422409274489870
0.0434336030887506
0.0446642893022987
0.0459325251129625
0.0472403761630305
0.0485894675411394
0.0499835457038751
0.0514218056926113
0.0529066632584992
0.0544401116879957
0.0560239190308564
0.0576578914434744
0.0593441872886354
0.0610844650903725
0.0628824441718348
0.0647391205927359
0.0666589961695326
0.0686443804536878
0.0708812862838366
0.0734053168137192
0.0760130179482014
0.0786377843937703
0.0812777751613241
0.0839543235508831
0.0866881881004186
0.0894914271426690
0.0923770063758415
0.0953494859678699
0.0984143130291396
0.101575251229922
0.104840323898316
0.108212647003198
0.111697040376574
0.115296608317025
0.119021471888250
0.122875065074676
0.126862315658542
0.130986733481194
0.135259297373045
0.139684739638887
0.144269551880543
0.149018014178859
0.153941796829249
0.159046326519083
0.164338372019702
0.169822426394841
0.175500473594720
0.181362856449883
0.187370421119209
0.193481504648064
0.199549294720114
0.205529706794425
0.211418918849249
0.217231781335503
0.223065274408093
0.228988457040143
0.235093407862485
0.241448573157735
0.248238168539033
0.255568306167449
0.263564062434103
0.272312439391322
0.282013699308443
0.292756682309321
0.304627719404296
0.317673812708155
0.331943043838012
0.347417878175005
0.364037746885924
0.381743890033351
0.400311566903312
0.419585154106435
0.439364389373382
0.459504269283610
0.479656639749121
0.499655607520579
0.519322179442039
0.538543970568646
0.557115350295172
0.574967288824230
0.592043418628961
0.608309283162150
0.623752424383440
0.638374009322372
0.652193760778200
0.665241875640313
0.677542102959882
0.689155040745854
0.700113920164426
0.710458303517059
0.720215207537641
0.729446834900738
0.738183849307556
0.746460007087587
0.754297510977858
0.761745638800763
0.768825601318222
0.775562489665378
0.781971737807920
0.788088998498342
0.793930260041365
0.799513086231590
0.804850080988067
0.809962951060268
0.814863104161963
0.819565128162421
0.824079438800303
0.828419185580967
0.832596059222847
0.836618062631024
0.840491048458649
0.844228519237518
0.847835490277087
0.851318949166735
0.854683774089948
0.857940033594094
0.861091371728917
0.864142450777437
0.867096488823613
0.869960190452164
0.872736960471775
0.875431747087704
0.878047943438342
0.880588216186193
0.883056063502307
0.885456308136265
0.887792891730343
0.890066890869294
0.892281838735055
0.894438829417821
0.896541784136853
0.898591607340043
0.900592351537477
0.902544585656055
0.904450576650662
0.906312661497954
0.908132421522962
0.909909990934082
0.911647423703307
0.913344961989268
0.915005252031449
0.916627934092995
0.918215113786955
0.919768581920163
0.921290064237551
0.922779988163691
0.924239476672758
0.925668705986212
0.927069490251478
0.928440946027190
0.929784048716641
0.931100551781717
0.932394142568957
0.933664005149656
0.934909977014953
0.936132248682419
0.937332419274283
0.938510507171261
0.939666800337892
0.940801618248514
0.941916918303424
0.943012457468721
0.944088508537561
0.945145331757530
0.946184614361589
0.947206086765914
0.948209997839554
0.949196587698838
0.950167277202232
0.951122139289083
0.952061515315532
0.952985632852339
0.953894658201214
0.954790026808494
0.955671371059871
0.956538889350370
0.957392756734420
0.958233489622595
0.959061015075547
0.959875493559839
0.960677208080134
0.961466972639538
0.962244629689063
0.963010392211600
0.963764499448204
0.964507558254239
0.965239478184913
0.965960437212233
0.966670435336198
0.967369805160228
0.968058549601896
0.968736843715634
0.969404845050429
0.970062982489639
0.970711194764213
0.971349473121428
0.971977872995189
0.972596811598556
0.973206283096381
0.973806412944340
0.974397265329059
0.974979032810410
0.975551610355737
0.976115210947929
0.976670240129754
0.977212902137625
0.977738021195528
0.978249562286328
0.978751548744372
0.979246445919565
0.979733361034308
0.980211946897313
0.980682404821176
0.981145703440415
0.981601761062964
0.982050601029412
0.982492156235562
0.982927211508779
0.983355378811743
0.983776491842741
0.984190538931481
0.984597692214818
0.984997977950917
0.985391425315518
0.985778183104886
0.986158799822906
0.986533255046561
0.986901650890936
0.987264036954786
0.987620859626912
0.987971897171700
0.988317094155247
0.988656506011456
0.988990106482163
0.989317866391629
0.989639852844052
0.989956106685467
0.990266718360663
0.990571638270885
0.990870945190627
0.991164621614444
0.991452976805167
0.991736045773682
0.992013837272709
0.992286292950772
0.992553634543483
0.992815716172151
0.993072578682808
0.993324265839063
0.993570754300325
0.993812073242333
0.994048310192301
0.994279505996265
0.994506013680660
0.994727637768038
0.994944416186859
0.995156416041322
0.995363835726449
0.995566672324666
0.995764969599582
0.995958707128178
0.996147954932227
0.996332529204577
0.996512380346473
0.996687452924010
0.996857662327547
0.997022763480880
0.997183080234708
0.997338883923398
0.997490305837775
0.997637357648133
0.997779875970336
0.997917825793499
0.998051201282473
0.998179839053123
0.998303820797517
0.998423248630740
0.998538192574564
0.998648640958693
0.998754468327453
0.998855674680842
0.998952327123060
0.999044472335289
0.999132016955164
0.999214899713636
0.999293155621589
0.999367102694575
0.999436746767741
0.999502090758662
0.999563181348517
0.999620389069188
0.999673661404344
0.999722992518839
0.999768294885455
0.999809822333120
0.999847463994025
0.999881167351843
0.999910932406572
0.999936572433486
0.999957953224189
0.999974981416316
0.999987735784361
0.999995971252122
0.999999999999999
0.999999999999999
Answers (1)
Yongchul Shin
on 27 Sep 2019
I apologize for the inconvenience. I want to check the fitting result of the last lsqnonlin.
See Also
Categories
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)