photo

cindyawati cindyawati


Last seen: 6 months ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

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...

6 months ago | 1 answer | 0

1

answer

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...

9 months ago | 1 answer | 0

1

answer

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...

9 months ago | 1 answer | 0

1

answer

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...

1 year ago | 1 answer | 0

1

answer

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...

1 year ago | 2 answers | 0

2

answers

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...

1 year ago | 1 answer | 0

1

answer

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...

1 year ago | 1 answer | 0

1

answer

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) ...

1 year ago | 1 answer | 0

1

answer

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?

1 year ago | 1 answer | 0

1

answer

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...

1 year ago | 1 answer | 0

1

answer

Answered
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?

1 year ago | 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...

1 year ago | 2 answers | 0

2

answers

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)=...

1 year ago | 1 answer | 0

1

answer

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?

1 year ago | 1 answer | 0

1

answer

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...

1 year ago | 2 answers | 1

2

answers

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));...

1 year ago | 2 answers | 0

2

answers

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...

1 year ago | 0 answers | 0

0

answers

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...

1 year ago | 1 answer | 0

1

answer

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...

1 year ago | 1 answer | 0

1

answer

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); ...

1 year ago | 3 answers | 0

3

answers

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...

1 year ago | 1 answer | 0

1

answer

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)...

1 year ago | 1 answer | 0

1

answer