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

David

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by David View all
Updated File Comments Rating
07 Jan 2010 kernel density estimation fast and accurate state-of-the-art bivariate kernel density estimator Author: Zdravko Botev

i have the same question, and posted it on the other kernel estimator.

07 Jan 2010 Kernel Density Estimator Reliable and extremely fast kernel density estimator for one-dimensional data Author: Zdravko Botev

i am using your above code and my data is plotting density values well over 1 (i.e. >500). I looked at your example

% Example:
% data=[randn(100,1);randn(100,1)*2+35 ;randn(100,1)+55];
% [bandwidth,density,xmesh]=kde(data,2^14,min(data)-5,max(data)+5);
% plot(xmesh,density)

but even then, sum(density) = 235.6368, which obviously is greater than 1. It should be 1 if it's a pdf right?

So, does your code generate a pdf? Or is scaled in some other way? If it is not a pdf, do you know how to convert it to a pdf? (do you just normalize by sum(density) ?)

01 Oct 2009 AviRead Reads AVI-files and processes position of pixel maximum per frame Author: Rainer Rawer

i dunno if it's me, but I'm continuously getting this error:

dat=aviread2('video7.avi',100,10);
??? Index exceeds matrix dimensions.

Error in ==> AviRead2 at 117
   if min(xx(h:(h+3))'==MOVI); %check for ID: 'movi'

Contact us at files@mathworks.com