How to fit a data set with a 'sinc' function

I have a data set: x=[-0.1481 -0.1158 -0.0798 -0.0392 0.0005 0.0398 0.0787 0.1169 0.1534 0.1823] y=[1 4 7 71 207 69 7 4 2 1]
I want to fit a 'sinc' function on this data set, how do I write a code for this fitting? I want to use 'fit' to fit the function on data set and also evaluate the fit by obtaining chi-sq, residuals etc. Thank you

Réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by