From the circuit above find the proper initial conditions th
From the circuit above, find the proper initial conditions that must be assigned in the
 Simulink simulation to the integrators, x1(0) and x2(0), that will properly model
 within the Simulink simulation the initial conditions given for vc(0) = 6 V and iL(0)= 2 A.
 c) Plot y(t) using Simulink using the integrators’ new initial conditions.
 Hint: To verify the solution find vout(t) using circuit analysis and MATLAB to
 plot vout(t) (with vc(0) = 6 V and iL(0) = 2 A. conditions)
Solution
How can I put several graphs on one page?
Here is an example which puts one graph in the top half and one graph in the bottom half of the page:
How can I change the plot style and color in ezplot ?
First save the file setcurve.m in your home directory.
To change the curve color to red, use the following command after the ezplot command:
setcurve(\'color\',\'red\')
To change the curve color to green, use a dashed instead of a solid line, and make the lines thicker, use the following command after the ezplot command:
setcurve(\'color\',\'green\',\'linestyle\',\'--\',\'linewidth\',2)
(Type help plot to see available line styles and colors.)

