Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Section 1 Using your knowledge of MATLAB and coding techniques including loops, conditionals, and functions

Section 1 Using your knowledge of MATLAB and coding techniques including loops, conditionals, and functions

Unrecognized

Section 1 Using your knowledge of MATLAB and coding techniques including loops, conditionals, and functions. Your line manager has provided you with the following breakdown of tasks that the script needs to perform as required. Make sure the script is nicely commented so your line manager can see exactly what has been coded. • The value of OBJECT mass to be applied to the system will be calculated from the digits 264, and applied to the following equation. T = 45 x 264 999 + 5 (1) Calculate this within the MATLAB script and round it up to 1dp. (2 Marks) • Calculate the force that will be applied to the system by the object, and display both the mass and the force to the console. (2 Marks). • Import the Excel data provided and convert the data to array format.(2 Marks) • Correct wrongly entered spring values for a data set of any length. Then display the entire data set to the console in a table format (4 Marks) • Request the time length of the simulation as an input from the user and assign it to the relevant variable. (2 Marks) • Use your knowledge of loops and arrays to provide the simulation results for a data set of unknown length. (5 Marks) • Write a function to represent the system in the form of a differential equation and solve it with each set of values using the ode45 function. (5 Marks) • Create a function that uses the Euler integration method, using a suitable time-step to do the same as above. (6 Marks) • Companion Simulink model called, and resulting values returned (2 Marks) • Plot the results of both MATLAB methods on the same graph to compare the results and use a second graph to display results imported from the Simulink model. Have a separate set of graphs for each row of dataset values, ensuring that each graph is correctly titled, labelled, and all results can be seen clearly.(5 Marks) • The correct use of commenting and naming conventions. (3 Marks) • Good coding structure, understanding and technique. (2 Marks) Total 40 marks EAT216 Simulation Assignment Section 2 Create a Simulink model to represent and solve the differential equation that represents the suspension system and output the response of the system to a scope. Then derive and add the transfer function of the system sending the results to the same scope for comparison. Use the values for the mass, damper and spring from the first row of the sample data, and the value of force that was calculated in the MATLAB script, to test the response. • Creation of the system differential equation model in Simulink with resulting values passed back to the MATLAB script (8 marks) • Calculation of system transfer function and correct blocks to the Simulink model with the resulting values passed back to the MATLAB script. (7 Marks) Total 15 marks

Option 1

Low Cost Option
Download this past answer in few clicks

20 GBP

PURCHASE SOLUTION

Already member?


Option 2

Custom new solution created by our subject matter experts

GET A QUOTE