Lab book for Zebrafish experiments

April 11, 2012

Shape of isoprobability lines

Filed under: Social Decision Making — alperezescudero @ 4:48 pm

Name of this file: Cuaderno20120411T174105.m

We want to see if isoprobability lines for high n are straight in all the plane, or only in the transition zone.

Define model

P=@(a,s,k,nx,ny) (1+(1+a*s.^-(nx-k*ny))./(1+a*s.^-(ny-k*nx))).^-1;
a=100;
s=5;
k=.5;

Plot model

nx=0:.1:100;
nx=repmat(nx,[length(nx) 1]);
imagesc(P(a,s,k,nx,nx’))
axis image

 

Plot in logarithmic

imagesc(log10(P(a,s,k,nx,nx’)))
axis image

 

So isolines are straight also in the saturated regions.

Blog at WordPress.com.