Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to plot a fit or a spline or a smooth curve on a set of data

1 vue (au cours des 30 derniers jours)
Mohanned Al Gharawi
Mohanned Al Gharawi le 18 Jan 2023
Clôturé : John D'Errico le 18 Jan 2023
Hello everybody;
I would like to plot a 2D curve, but what I need is a smooth curve on a set of data. The smooth curve may be an n-polynomial or a spline curve, then calculate the area under that curve.
the data are:
x= [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ]
y= [0.04 0.34 0.76 0.98 1.97 6.10 9.82 9.78 6.53 4.21 2.95 1.27 0.77 0.35 0.05 ]
Thanks in advance
  1 commentaire
John D'Errico
John D'Errico le 18 Jan 2023
Ok, so on what is clearly homework, what have you tried? If nothing, why not? If you make an effort, then show what you have done, and ask a question, if you then are still having a problem.

Réponses (0)

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by