Recent content by Mrs_ChemE

  1. M

    MATLAB ODE45 Help for Matlab: Fix Your Code Now

    Thanks Matematikawan. Right now, I have a separate file named "Prob_52" that has the function and then a file with: [t,y] = ode45 (@prob_52,[0,1],0) plot (t,y) xlabel ('Time') ylabel ('Function Value') My professor is unable to run it, which makes it a fail. I'm wondering if this is because...
  2. M

    MATLAB ODE45 Help for Matlab: Fix Your Code Now

    Matlab ODE45 Help?? function dy = prob_52 (t,y) dy = cos(y) - (sin (t)*y); [t,y] = ode45 (@prob_52,[0,1],0) plot (t,y) xlabel ('Time') ylabel ('Function Value') I was told my code is incorrect. Does anyone have suggestions on where I'm going wrong? Thanks
Back
Top