필터 지우기
필터 지우기

Transform sum formula to then use it into a ODE solver

조회 수: 3 (최근 30일)
hna
hna 2019년 12월 29일
댓글: darova 2019년 12월 29일
Hello,
I am trying to resolve a differential equation with some data that I've got. However I don't know how to translate this equation into a matlab code. At the moment I am working on the first file of my program which is the one where I will desribe my diffrential equation. I will later create other files to use the present function into an ODE solver.
So my differential equation is: dV/dt = (alpha - beta * cAA(t)) * V(t)
I have attached a picture with the formula of cAA that i don't now how to incorporate into my differential equation formula. In this equation
Dm, ka and k are known as well as t and Tadm.
I have attached my matlab code, of course at the minute it is not complete as I am stuck.
Thanks in advance,
  댓글 수: 3
hna
hna 2019년 12월 29일
So bascially here I am looking at the volume of tumor over a period of time which is my differential equation dv/dt.
Caa or X(t) in the dv/dt equation is the concentration of drug in the body.
ka: drug absorption variable by the gut
k: drug elimination variable
Dm: Drug dose
Tadm: time at which the drug is administrated.
Here I have a set of data that I want to fit using this model where the drug is administrated every day for a period of 22 days.
darova
darova 2019년 12월 29일
Try
ka = ; %known
k = ; %known
Tadm = ; %known
t = ; %known
Caa = @(t) D*(ka/(ka-k)*(exp(-ka(t-Tadm)))
F = @(t,v) alpha-beta*Caa(t)*v;
[t,v] = ode45(F, ...)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by