Data fitting with custom equation
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (1)
Somnath Kale
el 17 de Abr. de 2021
Editada: Somnath Kale
el 17 de Abr. de 2021
0 votos
4 comentarios
William Rose
el 18 de Abr. de 2021
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
el 18 de Abr. de 2021
William Rose
el 18 de Abr. de 2021
@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
el 27 de Jun. de 2021
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
