Question: You are asked to make a simulation of a single truck vehicle from vehicle dynamic block set library in MATLAB. The vehicle is driven with
You are asked to make a simulation of a single truck vehicle from vehicle dynamic block set library in MATLAB. The vehicle is driven with longitudinal velocity of ms For longitudinal force you can use the block of constant magic formula with braking.The steering angle has the following sequence of driving: degrees for the first seconds, then it turned to the right degrees for seconds then it returns to for the last seconds.The wind has a speed of ms in the direction of degrees to the negative xaxis.At the first seconds, the vehicle is assumed to travel up hill with a grade of degrees.You can use the user defined function block with using a suitable code like as you like if statements, for and while loops, matrix, etc. describing the steering angle scenario, road slope and wind speed. Or using inputoutput simulation blocksYou should plot the XY trajectory of the car you can build a suitable code for this purpose, then use plot commands The trajectory should have a dashed style with a red color. Explain your results. The car is initially at The vehicle has the parameters as follow:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
