matlab求一维数据的信息熵
调用的函数:function Hx=yyshang(y,duan)x_min=min(y);x_max=max(y);maxf(1)=abs(x_max-x_min);maxf(2)=x_min;duan_t=1.0/duan;jiange=maxf(1)*duan_t;% for i=1:10% pnum(i)=length(find((y_p>=(i-1)*jiange)&(y_p% endpnum(1)=length(find(y<ma