Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please give a step by step on where to go and what it looks like please!! V(t)=gt+V0h(t)=21gt2V0t+h0 where V and h are velocity and location
please give a step by step on where to go and what it looks like please!!
V(t)=gt+V0h(t)=21gt2V0t+h0 where V and h are velocity and location of the object at time t,V0 and h0 are initial ( at t=0 ) velocity and location of the object, and g is the constant gravitational acceleration. Write a MATLAB and Simulink codes that find and plot Vt and ht curves as follows: 1) Reads the values for g,V2, and h0 from a script in MATL.AB. Use g=9.806m/s2,V2=0m/s, and ha=5m. 2) In MATLAB script, defines an array for time t in the range zero to 10 seconds. 3) Transfers the data for t,g,Vi, and h0 from a script in MATLAB into Simulink. 4) Creates a model in Simulink to calculate V and h at any time in the range given for h. 5) Transfers the results for V(t) and h(t) into MATL.AB script. 6) In MATLAB script, plots three figures V vs, 1,h vs, f. Assign appropriate labels and tities for the figures and their axes. Note: For the Matlab script, you can either use the editor window or use the MATLAB Function block in Simulink. If you decided to use the editor window to write the Matlab script, you have to run the matiab script first to transfer the constants from the editor window to Simulink, then run the Simulink to transfer the V(t) and h(t) data that are generated by the To Workspace blocks from Simulink to Matiab. then run the Matiab script to generate the plots Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started