How can I extend the data in the x direction.

1 次查看(过去 30 天)
I used the curve fitting tool box to generate to fit the following data. But currently I am struggling to extend it in X direction where the x is 5000 instead of 350. How can I do it?
x = (length_wg*10*10*10*10*10*10)';
y = T_downward_80nm*-1;
f = fit (x, y, 'exp2' )
plot (f, x, y)
xlabel('Length [um]');
ylabel('Tranmission %');

采纳的回答

Star Strider
Star Strider 2021-9-11
Try this —
y5000 = feval(f, 5000)
I cannot run the posted code (no data) so I am posting this as UNTESTED CODE. It should work, if I understand the posted code correctly.
.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fit Postprocessing 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by