The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Hey guys, I have a simple MATLAB assignment due tomorrow at midnight! Let me know if you have any questions!
Thanks!
Week 10 Application ActivityME219 Computer Programming for EngineersThis week’s exercise is based on problem 4.17 in your MATLAB book1. The airplane shown is flying in acircular path with radiusߩ, the bottom of which is located at a height݄above the ground, with constanttangential velocityݒ. The airplane’s position is being tracked by a radar station on the ground. In thisexercise, you will be calculating the airplane’s radial distanceݎand elevationߠrelative to the radarstation.1.Start MATLAB, navigate to the directory where you want to save your work, and start a new m‐file called “W10.m”. Your program should do the following:2.PART 1: using the ‘input’ command, prompt the user forݒ,ߩ, and݄. (When testing your code,try using the valuesݒൌ50݉/ݏ,ߩ ൌ 2000݉, and݄ ൌ 500݉as shown in your book).3.PART 2: using the ‘linspace’ command, create a 100‐element time vector going from zero to thetime at which∝= 90°. To calculate the upper time limit, calculate the circumferential distancetraveled between∝= 0°and∝= 90°, then divide by tangential velocity to get time.4.PART 3: create a vector forߙas a function of time, using the following relationship:ߙሺݐሻ ൌݒߩݐ5.PART 4: create vectors that represent the horizontal and verticalሺݔ,ݕሻcoordinates of theairplane relative to the radar station, using the following equations:ݔሺߙሻൌߩsinߙݕሺߙሻൌߩሺ1െcosߙሻ݄
Attachments:
-----------