Fit of own function in plot

Dear community I am stuck with a task to do. I have a dataset where I can plot figures out of it. Next step for me is to fit a Cole Cole function and obtain the parameters from it. I have seen normal linear fit or nonlinear fit from examples but I can't succeed in plotting the Cole Cole function into my plots. Can someone please help me with it?
I have put everything that is needed in the attachments.
Thank you in advance

2 Commenti

Where is the rest of the code? All your code does is read it in and plot it. Where is your call to nlmfit()????
I don't have it. I tried to fit with the app that was within the MatLab program

Accedi per commentare.

Risposte (1)

David Hill
David Hill il 3 Apr 2021

0 voti

The documentation in fit() function is good. Just follow the guidance on fit a curve defined by a file.

1 Commento

Thanks this seems very usefull. I will look into it!

Accedi per commentare.

Richiesto:

il 3 Apr 2021

Commentato:

il 3 Apr 2021

Community Treasure Hunt

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

Start Hunting!

Translated by