I have been trying to plot the curve of 'y', the step response of a differential equation but my code doesn't seem to work, please help.

`clear all, close all, clcy = dsolve('D2y+12*Dy+36*y=36', 'y(0) = 0','Dy(0) = 0')pretty(y)`

Skip to content# MATLAB: Plotting second order ode response

Control System Toolboxdifferential equations

I have been trying to plot the curve of 'y', the step response of a differential equation but my code doesn't seem to work, please help.

`clear all, close all, clcy = dsolve('D2y+12*Dy+36*y=36', 'y(0) = 0','Dy(0) = 0')pretty(y)`

## Best Answer