dN/dt = s + ( g*N*T^2) /(h + T^2) - ( C *T - p*D -q*L) *N - (z*M*N) -( e*N)

1 view (last 30 days)

Accepted Answer

VBBV
VBBV on 28 May 2022
Edited: VBBV on 28 May 2022
f = @(T,N) (s+ ((g*N*T^2)/(h+T^2)) - ...) % change small case t to Upper case T and try
f is function of T and N and not small t. Matlab is case senstive.
  2 Comments
VBBV
VBBV on 28 May 2022
It seems you also have ode45.m Its a standard Matlab function. If its defined by you for your problem rename it to something other than standard Matlab function names,
Diksha Gautam
Diksha Gautam on 30 May 2022
But in other equation I was used t and T

Sign in to comment.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!