From fab1625@email.unc.edu Thu Jan 3 10:16:13 2002 Date: Fri, 27 Nov 1998 13:13:52 -0500 (EST) From: FLOYD BULLARD To: marron@stat.unc.edu Subject: MatFiles Dr. Marron, Here are the three files which are the core of the surface generators. There is sketchy documentation given at the beginning of each of them. Essentially, to get a surface you would determine what x- and y- vectors you wanted to be the defining boundaries of your region, and call them x and y. Let tdata, xdata, and ydata be vertical vectors containing just what it looks like they should contain. sigma1 is the animal's speed parameter, and sigma2 is the one that smooths the endpoints out. And n determines how many steps there are in each numerical integration which generates the bridges. Lower n, coarser bridge; higher n, finer bridge. Then run the file "twobumpy.m" thus: Z=twobumpy(x,y,xdata,ydata,tdata,sigma1,sigma2,n); And you should get a matrix Z which may be plotted with x and y to show the probability density at each point. I'm including with these three files another two (runme.m, bbear12.mat) that you can use to try it out. It generates all the data and defines the parameters and what not. I think that's everything I need to do for now. I'm not abandoning the project, but I'm going to put it away for a little while. I'll be in touch regarding editing it for submission for publication. --Floyd [ Part 2, "Makes a bump." Text/PLAIN (Name: "bump.m") 18 lines. ] [ Unable to print this part. ] [ Part 3, "Makes a bridge." Text/PLAIN (Name: "twobumpssmoothed.m") ] [ 17 lines. ] [ Unable to print this part. ] [ Part 4, "Makes a pdf based on bridges." Text/PLAIN (Name: ] [ "twobumpy.m") 15 lines. ] [ Unable to print this part. ] [ Part 5, "Run me after downloading others." Text/PLAIN (Name: ] [ "runme.m") 2 lines. ] [ Unable to print this part. ] [ Part 6, "Bear 12 data" Application/OCTET-STREAM (Name: ] [ "bbear12.mat") 9.5KB. ] [ Unable to print this part. ]