Recent content by kribosgiros

  1. K

    MATLAB Help, solving simple PDE with ODE45 or ODE23 solver in matlab

    oh and don't forget to change q0 in diskx to q so it compute the dynamics
  2. K

    MATLAB Help, solving simple PDE with ODE45 or ODE23 solver in matlab

    i got it hehe.. finally, the problem is i just compute my diskx function onece when i should compute it for each time step, and i notice that i don't really need the rhs function so i erase it and put my diskx directly inside my ode45 or 23 bracket and it works perfectly.
  3. K

    MATLAB Help, solving simple PDE with ODE45 or ODE23 solver in matlab

    that is correct, but this is just the first step from several steps that i want to do. Later on i want to define c as a function of k, which as we know only exists in Fourier domain this is why i try to solve it through Fourier doamain . And this kind of relation is called the dispersion...
  4. K

    MATLAB Help, solving simple PDE with ODE45 or ODE23 solver in matlab

    guys please help me, I'm trying to solve a simple moving PDE equation in matlab. The equation I'm trying to solve is dq(x,t)/dt=-c*dq(x,t)/dx with initial condition for example q(x,0)=exp(-(x-5)^2) c is a constant. What i want to do is to first discritize the initial condition with...
Back
Top