Question: How to solve Problem 1,2,3??(MATLAB) Problem 1 (30 Pts) Create a GUI where you could: a) Select an axes and plot y=x2 (10 pts) b)

Problem 1 (30 Pts) Create a GUI where you could: a) Select an axes and plot y=x2 (10 pts) b) Select another axes and plot y=x3 (5 pts) c) Error check and display error message for invalid commands input inside the edit boxes. (i.e. Domain and/or equation input error, File not foundI). Error message should be cleared if there is no error found (15 pts) Hints: 1. You will need to obtain the domain values using eval function first before you load up the equation 2. eval function can be used to obtain the equation expression after you get the domain values 3. Use try and catch statements for error checking and display the error Problem 2 (30 Pts) Given a very simplified car model shown below, assuming that this car can only reach a maximum acceleration of 6[m/s2], Design a control system that allows the car to accelerate from zero to 10[m/s]. under 15 s without significant overshoot. You are to do the following: a) Buld the system model directly from the governing equation and show the open loop response with a step input (F=500 and simulation time =120)(15 pts ) b) Setup Simulink for PID control system design in a separate file (10 pts) c) Show control result and indicate what value of Kp, KI and Kd you used (hint: start adjusting Kp and then Ki and/or Kd if needed) (5 pts) Note: Turn in your Simulink model files and a word file containing system response plots. Problem 3 (10 Pts) a) What is the best thing about this course? (5pts) b) What is the worst thing about this course? (You cannot say too much HWI)(5 pts)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
