Through the aid of MATLAB, we were able to obtain the solutions
of Linear Constant-Coefficient Differential Equations (LCCDE). In this experiment, two ways are used to obtain the total solution of an LCCDE. Namely, by getting the sum of the homogenous solution and particular solution, and by taking the Inverse Laplace Transform and partial fraction expansion on C(s). There are several commands used to obtain the answers to the problems in this manual. The POLY command converts roots to polynomial. The ROOTS command finds the polynomial roots. It computes the roots of the polynomial whose coefficients are the elements of the vector C. The pole-zero map is plotted using the PZMAP command. In obtaining the partial fraction expansion, the command RESIDUE is used. One important command is the SYM, which is widely used in MATLAB operations since it allows construction of symbolic numbers, variables and objects to be used. The command simply declares the variables to be used. Talking
about
the
complex
mathematical
operations,
The
LAPLACE command performs the Laplace Transform of a scalar
sym F with independent variable t, returned in a function of s. On
the other way around, the ILAPLACE command performs the Inverse Laplace Transform of a scalar sym L with independent variable s, returned in a function of t. In the procedure, to obtain the homogenous solution, the command DSOLVE is used. However, the solution is not in general form so it must be written in general form. To obtain the particular solution, since DSOLVE already gives the total solution, the particular solution is the part where there are no C coefficients. In determining the total solution using Laplace Transform, the laplace transform of r(t) and the partial fraction expansion of the coefficients of the equation is obtained, and using the inverse laplace to obtain the function in the time domain.