I have this simple system :
dx/dt = x(1-x)
I am trying to solve this system analytically and numerically using ode45 in MATLAB, then trying to find the Fisher Information according to this formula :
I = integral ( (1- 2*x)^2 / (x-x^2)^2) .
I wrote three different codes to find that but I am not feeling confident with the all three for many reasons: I am getting different results for the numerical and analytical, My system is stable at the carrying capacity but what I am get is oscillation or an increasing curve and infinite when I am using different time vector.
Can anyone give me any idea about how to write a code in Matlab to find that?