发布网友 发布时间:2022-04-23 16:48
共2个回答
热心网友 时间:2023-06-30 19:54
m=ksdensity(data,x,'function','cdf') data就是有自己定义的密度函数生成数据(n行1列) x就是输入的点,第三四个参数就写'function','cdf不变 m就是所求的分位数值。'
热心网友 时间:2023-06-30 19:54
>>doc ksdensity ksdensity Compute density estimate using a kernel smoothing method Syntax [f,xi] = ksdensity(x) f = ksdensity(x,xi) ksdensity(...) ksdensity(ax,...) [f,xi,u] = ksdensity(...) [...] = ksdensity(...,'param1',val1,'param2',val2,...) ...........