Data fitting with custom equation
이전 댓글 표시
Hi
I am facing some issue in the data fitting with the equation. I wanted to fit to my data with eqauation attached in the image. please also suggest what type of fuction we can fit or not fit. my x and y are as fillow.
x = 1.00E-07 2.00E-07 5.00E-07 1.00E-06 2.00E-06 5.00E-06 1.00E-05 2.00E-05 5.00E-05 1.00E-04 2.00E-04 5.00E-04 1.00E-03 2.00E-03 5.00E-03
y = 2.3800 4.4800 6.4500 9.0200 13.2400 16.2600 18.9700 22.9900 26.3300 28.7800 30.3100 31.6500 31.9500 32.0500 32.3400
if possible let me kno the code also.
채택된 답변
추가 답변 (1개)
Somnath Kale
2021년 4월 17일
편집: Somnath Kale
2021년 4월 17일
0 개 추천
댓글 수: 4
William Rose
2021년 4월 18일
None of your versions of Matlab are able to find the function called GetIpOptions(), which is called by fmincon(). Maybe the folder containing this function has not been added to the Matlab path. (Although if that is true, then I would expect you to get other "function not found" errors.) On my Windows computer, the file getIpOptions.m is in folder
C:\Program Files\MATLAB\R2018b\toolbox\optim\optim\
Look for that file on your computer. When you find it, add the folder it is in to the Matlab path. See here for how to add a directory to the Matlab path.
If that doesn't work, contact your sysadmin, or contact Matlab Support here, and proceed as if you have an installation issue (which may be true). That way you should get help even if you are a student.
Somnath Kale
2021년 4월 18일
William Rose
2021년 4월 18일
@Somnath Kale, You're welcome. Thank you very much for your kind comments. If I have problems with instrument control, I will be sure to conatct you!
Somnath Kale
2021년 6월 27일
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
