Matlab, how to calculate AUC (Area Under Curve)?

前端 未结 6 2075
情歌与酒
情歌与酒 2021-01-01 00:06

I have the file data.txt with two columns and N rows, something like this:

0.009943796 0.4667975
0.009795735 0.46777886
0.009623984 0.46897832
0         


        
6条回答
  •  有刺的猬
    2021-01-01 00:21

    just add AUC = trapz(X,Y) to your program and you will get the area under the curve

提交回复
热议问题