Raylpdf problem- CDF-PDF

2 次查看(过去 30 天)
Dani D
Dani D 2016-7-11
Hello, I want calculate pdf and cdf with Rayl function in matlab. But i think result isn't correct. Please view my result.
clc
clear all
close all
I = imread('cameraman.tif');
im = imhist(I);
p = raylpdf(im,.6);
sump = sum(p);
pcdf = raylcdf(im,.6);
figure;
plot(I,p);

回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by