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

1 vue (au cours des 30 derniers jours)
Diksha Gautam
Diksha Gautam le 28 Mai 2022
Commenté : Diksha Gautam le 30 Mai 2022

Réponse acceptée

VBBV
VBBV le 28 Mai 2022
Modifié(e) : VBBV le 28 Mai 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 commentaires
VBBV
VBBV le 28 Mai 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 le 30 Mai 2022
But in other equation I was used t and T

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by