Rank: 58968 based on 0 downloads (last 30 days) and 0 files submitted
photo

Sue C

E-mail

Personal Profile:

student

Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Sue
Updated File Comments Rating
16 Feb 2010 kernel density estimation fast and accurate state-of-the-art bivariate kernel density estimator Author: Zdravko Botev

It's easy to use .

but i got a problem;I am trying to do density estimation.
here is the m-file

%--------------(density estimation)------------------------------
clear all
data=[118,50;151,13;152,17;156,202;208,43;256,402;260,204;263,415;] ;
     [bandwidth,density,X,Y]=kde2d(data);
     contour3(X,Y,density,50), hold on
     plot(data(:,1),data(:,2),'r.','MarkerSize',5)
%------------(density estimation)------------------------------(end)

and an error happened

??? Error using ==> fzero at 293
The function values at the interval endpoints must
differ in sign

Does anyone got the same error?

Contact us at files@mathworks.com