[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: enum in octave?
From: |
Carlo de Falco |
Subject: |
Re: enum in octave? |
Date: |
Mon, 13 Oct 2008 14:37:32 +0100 |
On 13/ott/08, at 08:28, Matthias Brennwald wrote:
Jim
How about this (in Octave):
---------------
R = 0;
K = 1;
BOB = ...; (insert whatever value needs to go here)
y[BOB] = p[R]*y[BOB]*(1 - y[BOB]/p[K]);
---------------
actually in Octave the above should read:
R = 1;
K = 2;
BOB = ...; (insert whatever value needs to go here)
y(BOB) = p(R)*y(BOB)*(1 - y(BOB)/p(K));
Cheers
Matthias
c.