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'