- #1
revooridinesh
- 1
- 0
I have equations as
C1*y1' = F*C2*y2 - C3*y1
y2' = C4 -B* C5*y3 - C6*y1
y2-C7=x(t)*y3
X(t) is a known function
where F = 0 when y3<y1
1 when y3>y1
B=0 when C7<y3
1 when C7>y3
C's are constants
so what I am thinking is at time t1 i will get the values for F and B depending on previous values and X value will be known and I need the solution for the unknowns at time t1. I tried solving this by Newton raphshon method but the solution is not converging. Are there any MATLAB commands for this like ODE 23 OR any new solution is welcomed
Thanks a lot
C1*y1' = F*C2*y2 - C3*y1
y2' = C4 -B* C5*y3 - C6*y1
y2-C7=x(t)*y3
X(t) is a known function
where F = 0 when y3<y1
1 when y3>y1
B=0 when C7<y3
1 when C7>y3
C's are constants
so what I am thinking is at time t1 i will get the values for F and B depending on previous values and X value will be known and I need the solution for the unknowns at time t1. I tried solving this by Newton raphshon method but the solution is not converging. Are there any MATLAB commands for this like ODE 23 OR any new solution is welcomed
Thanks a lot