Assignment title: Information


For this assessment item, you must produce MATLAB code and Simulink modules which: 1. Simulate Eqs. (1)–(4) using the three methods listed in MATLAB. 2. Plots the simulated vc(t) for each method, clearly indicating the value of Vmin on each graph. Non-dimensionalise the value of time by multiplying by f; non-dimensionalise the voltage using (vt − 2Vd). Non-dimensionalisation allows you to compare cases of different scale directly because the results are proportional to the non-dimensionalising parameter. 3. Displays a message in the Command Window stating whether vc(t) is always greater than Vmin for each of the methods. 4. Simulates Eq. (1) using Simulink. 5. Produces a plot using Simulink showing when vc(t) reaches Vmin. 6. Displays within Simulink when vc(t) reaches Vmin. 7. Produces output to MATLAB so that MATLAB can report to the Command Window the simulated times for vc(t) to reach Vmin. 8. Has appropriate comments throughout. You must also verify your simulation using Euler's method in MATLAB for the first two timesteps of part (ai); submit this working in a pdf file. Your MATLAB code must test (verify) whether the value of vc after two timesteps is the same as computed by the code.