Prev: The MCR instance could not be initialized at MathWorks.MATLAB.NET.Utility.MWMCR..ctor
Next: lagmatrix: wrong # of input arguments
From: Cyrus on 5 Dec 2008 21:48 I am using DSOLVE, and by default it makes the lower limit of the integration process t=0. How can I get DSOLVE to evaluate the integral from a lower limit T to an upper limit t? Is that possible?
From: Steven Lord on 8 Dec 2008 10:59
"Cyrus" <cyrusabdollahi(a)msn.com> wrote in message news:ghcp52$o5q$1(a)fred.mathworks.com... >I am using DSOLVE, and by default it makes the lower limit of the >integration process t=0. > > How can I get DSOLVE to evaluate the integral from a lower limit T to an > upper limit t? > > Is that possible? DSOLVE doesn't integrate, it solves a system of differential equations. If you want to provide the initial conditions for the system at a time other than t = 0, then take a look at the fourth paragraph on the reference page for DSOLVE: http://www.mathworks.com/access/helpdesk/help/toolbox/symbolic/dsolve.html "Initial/boundary conditions are specified with equations like y(a) = b or Dy(a) = b, where y is a dependent variable and a and b are constants. If the number of initial conditions specified is less than the number of dependent variables, the resulting solutions will contain the arbitrary constants C1, C2,...." If you want to integrate a function instead of solving a system of differential equations, use INT instead: http://www.mathworks.com/access/helpdesk/help/toolbox/symbolic/int.html -- Steve Lord slord(a)mathworks.com |