Skip to content
Permalink
0398b43298
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
38 lines (37 sloc) 1.99 KB
I separated the code for this project in three main files.
<ul>
<li>The primary code is contained in "Project_1.mlx". The code in this file covers:
<ul>
<li>From section (2)
<ul>
<li>The dynamical system model, including the transfer function in all required forms except ARMAX, and the bode plot</li>
<li>The disturbance model in all required forms except ARMAX, and the bode plot</li>
<li>The response characteristics of the dynamical system and the disturbance</li>
<li>The root locus for both the dynamical system and disturbance model</li>
</ul>
</li>
<li>From sections (3)-(4)
<ul>
<li>The controller design, including the transfer function in all required forms except ARMAX</li>
<li>The controller design, including the transfer function in all required forms except ARMAX</li>
</ul>
</li>
<li>From section (5):
<ul>
<li>The design of the new controller</li>
</ul>
</li>
</ul>
<li>The file "Project_1_final_part.mlx" contains the code used in part (6) (stability under parameter uncertainty).</li>
<li>The file "P1_simulation_script.mlx" contains the code used to run the Simulink diagrams that generated the system response plots in sections (3), (4), and (5).</li>
</li>
</ul>
How to run the code:
<ul>
<li>Running "Project_1.mlx" should automatically generate most of the graphs and figures used in my report; some responses may be suppressed to save memory or space, but those are generally items (e.g. a written list of pole locations or a written transfer function) that are directly copied in the report.
</li>
<li>Running the appropriate section of "P1_simulation_script.mlx" will run the corresponding Simulink diagram used to generate the system responses shown in sections (3)-(5). All graphs should be set to display those used in the report as-is.
</li>
<li>Running "Project_1_final_part.mlx" will automatically generate most of the graphs used in Section (6). Note that I did manually change k1 for part of my analysis in section (6), but the rest of the section should run automatically without changes.
</li>
</ul>