Raylpdf problem- CDF-PDF

2 views (last 30 days)
Dani D
Dani D on 11 Jul 2016
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);

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!