Question: PLEASE MATLAB HELP! In this homework assignment you implement and utilize a standard atmosphere model (in this case the 1959 ARDC Model Atmosphere). The end

PLEASE MATLAB HELP!

PLEASE MATLAB HELP! In this homework assignment you implement and utilize astandard atmosphere model (in this case the 1959 ARDC Model Atmosphere). Theend result of this project should be a function that accepts an

In this homework assignment you implement and utilize a standard atmosphere model (in this case the 1959 ARDC Model Atmosphere). The end result of this project should be a function that accepts an input altitude and then outputs the pressure, temperature, and density at that altitude as well a script using that function to plot those values for the entire atmosphere. Assignment: The 1959 ARDC Model Atmosphere has the following parameters: Sea level temperature 288.16 K Sea level pressure 101.325 kPa Sea level density 1.2250 kg/m^3 Gradient layer -0.0065 K/m up to 11 km Isothermal layer 11 km to 25 km Gradient layer 0.0030 K/m up to 47 km Isothermal layer 47 km to 53 km Gradient layer -0.0045 K/m up to 79 km Isothermal layer 79 km to 90 km Gradient layer 0.0040 K/m up to 100 km 3) Write a MATLAB function that calculates the air properties at a given altitude using the 1959 ARDC standard atmosphere model. The function should not output any variables to the Command Window (suppress with semi-colon). The function should have the first line: function [T, P, rho] = stdatm_lastnameFirstname(h); 5) Write a MATLAB script to call your function with a variable altitude. Name your script lastnameFirstname_A215_hw1.m. Use comments for the first lines in the script to give your name, class, assignment, and date. Your first code line should be: close all; clear all; clc Comment all major lines of code (creating and setting variables, with units; calling the function). Using control flow in the script, call your function multiple times to create data and plots depicting the properties of the standard atmosphere up to 100 km. Plot temperature, pressure, and density on a subplot with altitude as the y-axis

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!