Area under distribution fit curve
Afficher commentaires plus anciens
I used Statistics and Machine Learning add on to help me create a fit for my data. However, i now need to find the area under the fitted curve, and i am unable to use trapz(X,Y) since i do not have any variables and my data is a 261345x1 data set. Please advise!
Réponse acceptée
Plus de réponses (1)
KSSV
le 6 Sep 2021
Let Y be your 261345x1 data.
X = (1:length(Y))' ;
trapz(X,Y)
Catégories
En savoir plus sur Numerical Integration and Differentiation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
