Hii,
I am using 'OutputFcn' to check integration values after each step. Druing my solution I want to stop integration after I reach y<=0. Problem I am acing is that, after each iteration solver returns me array of y which is correspond to a array of t rather than at each point of t. Thats...
Thanks gato. i tried with y(50)=1+1e-15. and it works. I have 3 more question i hope you will be able to help me.
1. In my problem the upper end ( x = 50 ) is not fixed. In original problem it was said that Y( as x goes to infinity) =1. at first I sovled the problem by assuming upper limit as...
Hiii,
In my research i encountared with following 3rd order ODE:
d^3y/dx^3 = (1-y)/y^3.
my B.C. are:
at x = 50 y=1(dirichlet B.C.) ; dy/dx=0 ( numan B.C.) and d^2y/dx^2=0.
i need to integrate from x=0:50. I tried ode45 but it gives same result as B.C. throughout the range...
yeah in MATLAB help its says that ode15s can solve this type DAE's. But my Mass matrix M is dependent of U(dependent variable)...I have example to solve this type of problem when Mass matrix is constant. But how can I evaluate value of M?
I have problem in solving following DAE's:
1. 0 = X*U1*C4+X*U2*C4 - 1
2. Re*C1*(U1+U2)*U1' +Re*C2*(U1^2+U2)*U2'= X*(U1*C2+U1*U2+U2*C3)+(1/X)*(U1+U2)
here X is the independent variable and U1 and U2 depend on X and others are constants.I need to solvethis DAE's in matlab. To solve in...
hellow everyone, its my first post. In my problem i have a function f=f(x)... inned to integrate it from 0 to a ...I need to multiply f with some other function g(x) and differentiate it...i don't want to use another function file...i tried inline function command but it can't multiply with g(x)...