How to extract the parameters through curve fitting

24 views (last 30 days)
Hi all,
I've an experiment data which collect from thin-film transistor.
Here, I would like to obtain the paramters (mark with red square) throuhg curve fitting.
I've tryed the cftool to do that, unfortunately, it's fail....becasue I'm new with the curve fitting with matlab.
Can anyone teach me how to start conduct it?
where,
W/L=0.25
VTH=3.11
VD=0.1

Accepted Answer

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 4 Jun 2021
(1) Import the data using readtable(), e.g:
D = readtable('IdVg.xlsx');
v=table2array(D(:,1));
TR=table2array(D(:,2));
(2) Use custom equation in cftool and insert your formulation in terms x variable.
  2 Comments
Chuanjung Lin
Chuanjung Lin on 7 Jun 2021
Hi Sulaymon,
Thank you for your feedback, I've tyed this method. And detail as following,
(1) Setting "Exclude by Rule" to prevent negative value resulting in fitting error
(2) Type the formula in to box, and click "Fit Options" set the Lower and Uper.
(0.25) * (a/(1+b))*(((x-2.5)/c)^(b))*(1.77e-8)*(x-2.5)*0.1
And the result as the attahcment
Steven Lord
Steven Lord on 7 Jun 2021
Use the coeffvalues function on the fit in the workspace to extract the coefficients. There are also a number of other functions you can call to obtain information about the fit.

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!