I computed two distribution function:
[distribution_1,x]=ecdf(X); Distribution_2= f(distribution_1);
Now I want to integrate Distribution_2 over the interval [a,b] and tried to use q = integral(fun,xmin,xmax) but I have trouble creating the function handle "fun" in my specific case (since I cannot create the connection to x?)
Thankful for any advice!
5 件のコメント
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/365351-how-to-integrate-a-distribution-function-for-a-specific-interval#comment_501783
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/365351-how-to-integrate-a-distribution-function-for-a-specific-interval#comment_501783
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/365351-how-to-integrate-a-distribution-function-for-a-specific-interval#comment_501800
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/365351-how-to-integrate-a-distribution-function-for-a-specific-interval#comment_501800
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/365351-how-to-integrate-a-distribution-function-for-a-specific-interval#comment_501818
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/365351-how-to-integrate-a-distribution-function-for-a-specific-interval#comment_501818
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/365351-how-to-integrate-a-distribution-function-for-a-specific-interval#comment_501820
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/365351-how-to-integrate-a-distribution-function-for-a-specific-interval#comment_501820
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/365351-how-to-integrate-a-distribution-function-for-a-specific-interval#comment_501824
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/365351-how-to-integrate-a-distribution-function-for-a-specific-interval#comment_501824