Fitting a costum made function to a histogram

Dear all,
How do I fit a custom made function that I have to a histogram?
I thank you in advance for your help.
John

 Accepted Answer

If you have the Statistics Toolbox, you could use the nlmefit() function.

2 Comments

Also, I'm not sure why my brain went to the somewhat more complicated nlmefit(), but there is also the simpler nlinfit() that will likely suit your needs as well. If you search on "nlinfit" and "cyclist", you should find a couple simple examples I have posted here.

Sign in to comment.

More Answers (1)

Give me an idea of the types of filters that work in the Matlab. I want to help me make an old image filter and create an interface for this filter?

1 Comment

You have posted this as an "answer" to a completely unrelated question. Instead, you should go to this page to post a new question.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!