cindyawati cindyawati

Last seen: 28 jours il y a Actif depuis 2023

Followers: 0   Following: 0

Feeds

Afficher par

Question

How i use break in continues data in couple differential? it is possible?
Hello, this is my code for a diseases and I want to know the effect of drugs (blue line) if I stoped from days 30-60 and continu...

environ un mois il y a | 1 réponse | 0

1

réponse

Question

How to calculate the difference error between Runge-Kutta Order 4 Method and euler method?
I want to calculate the difference error between Runge-Kutta order 4 method and Euler method. Because I know the Runge-Kutta ord...

4 mois il y a | 1 réponse | 0

1

réponse

Question

I have sigmoid graph and I want to stop the time until 4th and continue from day 10th until day 30th. Can I make like this?
M1(1)=0; t(1)=0; h=0.01; dt=-5:h:30; t=zeros(length(dt),1); M1=zeros(length(dt),1); for i= 1:length(dt) t(i+1)=t(i)+h...

4 mois il y a | 1 réponse | 0

1

réponse

Question

Why my plot is wrong if I decrease dt
I have a code, while I running the code is nothing error in the result. But if dt decrease (ex: 0.001) the plot is wrong. I kn...

7 mois il y a | 1 réponse | 0

1

réponse

Question

How to calculate first and second derivative for concentration?
Hi, I have a code that show the concentration. I want to find the first and second derivative. How to calculate that? This is my...

8 mois il y a | 2 réponses | 0

2

réponses

Question

I get error in unrecognized function or variable 'T'.
Hello, I get error in my code. I want to make my dtab function depends on time but i get error "unrecognized function or variabl...

9 mois il y a | 1 réponse | 0

1

réponse

Question

Can graphs in Matlab provide a more detailed scale?
I have 2 different function and I want to combine the plot. In Matlab cannot show the difference plot of 2 function but in exce...

11 mois il y a | 1 réponse | 0

1

réponse

Question

How can I input sum over in function depend on time?
I get error and the error is Index exceeds the number of array elements (1). I want to write this equation (blue highlight) ...

12 mois il y a | 1 réponse | 0

1

réponse

Question

How to combine two graph from two function in another script?
Hello, I have 2 function in another script. I want to combine the graph into 1 graph. Is it possible and how to combine it?

12 mois il y a | 1 réponse | 0

1

réponse

Question

How to use 5 function coupled each other using ODE45? it is possible?
I have a coupled differential equation. I'm confused why my M3, O, and P values are 0. Even though the initial conditions M2, M3...

environ un an il y a | 1 réponse | 0

1

réponse

Réponse apportée
Why doesn't M2 function get called? Could somebody please explain what this error is and how to fix it?
Why my graph cannot show like sigmoid graph whereas I already input the sigmoid function into the code?

environ un an il y a | 0

Question

Why doesn't M2 function get called? Could somebody please explain what this error is and how to fix it?
I have function for M2 function M2 =fRK4M2(M1,M2) M1=10; M2=0; mu_2=10^-3; K1= 10^-4; K2=5*10^-4; M2 = (K1*M1*M1)-(K2*M...

environ un an il y a | 2 réponses | 0

2

réponses

Question

Why my y value went so high, whereas I using small value?
I am plotting M1 with RK4 function. I am just using small value of constant but the y value went so high %input for time t(1)=...

environ un an il y a | 1 réponse | 0

1

réponse

Question

How to call sigmoid function inside runge kutte orde 4? Is it possibel?
I have sigmoid function and I want to call that function with runge kutte, how to call function inside function?

environ un an il y a | 1 réponse | 0

1

réponse

Question

If I have a sigmoid equation depend on time and I want to input to Runge Kutta Orde 4Th equation. So, the graph show the sigmoid from Runge_kutta . How to call the function?
This is my sigmoid equation depend on time ( j is looping for time) %input for time t(1)=0; dt=0.1; %time interval t=0:dt:10...

environ un an il y a | 2 réponses | 0

2

réponses

Question

How to use Runge-Kutta orde 4 in sigmoid equation. I want to plot sigmoid equation with Runge kutta orde 4th but my graph is linear. I need help
This is my function %This is my Runge Kutta for sigmoid equation S=0; for j = 1:length(t)-1 k1S = dt*fRK4S(S(j));...

environ un an il y a | 2 réponses | 0

2

réponses

Question

How to declare j in runge kutta orde 4 function? Why my output doesnt exist?
clc;clear; function RK4 %input konstanta delta=50; K1= 10^-4; Ko=0.1; n=3; Oa=10; Pa=100; mu_1=10^-3; mu_2=10^-3; m...

environ un an il y a | 1 réponse | 0

0

réponse

Question

Hello, I want to make function Runge-Kutta orde 4 with equation depend on time, but in MATLAB i get some error
I want to use this equation with runge-kutta orde 4 function M1 =fRK4M1(M1) %M1 =M1(j)+1./(1+exp(-T(j))); m1 = (50*M1(j+1...

environ un an il y a | 1 réponse | 0

1

réponse

Question

I want to plot this code, but my value show zero and the graph nothing to show. How to fix it
clc;clear; %input parameter delta=50; K1= 10^-4; Ko=0.1; n=3; Oa=10; Pa=100; mu_1=10^-3; K2=5*10^-4; K3=10^-4; gamm...

environ un an il y a | 1 réponse | 0

1

réponse

Question

I get error when I try to plot sigmoid function
I try to plot equation with sigmoid function, but i get error M1(1)=0; t(1)=0; h=0.01; dt=-30:h:30; t=zeros(length(dt),1); ...

environ un an il y a | 3 réponses | 0

3

réponses

Question

Hello, I get error "Unable to perform assignment because the left and right sides have a different number of elements". How to fix this?
K1= 10^-6; K2=5*10^-6; K3=10^-5; delta=50; Oa=10; Pa=100; Ko=0.1; mu_1=10^-3; gamma=75; m1=10; n=3; K=0; M=0; h=0.5...

environ un an il y a | 1 réponse | 0

1

réponse

Question

Why I get error to solve this ODE with euler method?
Hello, I need to solve this equation with euler method but I got error in array This equation is: dMn(t) dt = Kn-1M1(t)Mn-1(t)...

environ un an il y a | 1 réponse | 0

réponse