Recent content by oby7842

  1. O

    How to Stop Integration in ode45 When y<=0 is Reached?

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

    Solving 3rd order ODE with B.C. of Numan and Dirichlet Type

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

    Solving 3rd order ODE with B.C. of Numan and Dirichlet Type

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

    MATLAB Solve DAEs in MATLAB | Omar Bin Yusuf

    Can you please elaborate the idea a bit?? It will be a great help for me. thanks
  5. O

    MATLAB Solve DAEs in MATLAB | Omar Bin Yusuf

    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?
  6. O

    MATLAB Solve DAEs in MATLAB | Omar Bin Yusuf

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

    MATLAB Matlab Problem: Integrating & Multiplying Functions w/o File

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