Question: For each of the problems in this homework assignment, write a separate MATLAB m-file. The name of each m-file must be exactly as specified in

 For each of the problems in this homework assignment, write aseparate MATLAB m-file. The name of each m-file must be exactly asspecified in the corresponding problem statement. Submit your m-files by uploading to

For each of the problems in this homework assignment, write a separate MATLAB m-file. The name of each m-file must be exactly as specified in the corresponding problem statement. Submit your m-files by uploading to Blackboard before the due date. A p-file (an encrypted script file) for each of these problems is available on the Homework page of the course website. You can download these files and run them from the command line to see how your code should behave. Make the behavior of your code match that of the p-files. 1) (10 pts) Filename: MAE1090 HW6 1.m Write an m-file that accepts a user input value, grade, and then utilize an if...elseif...else structure to assign a letter grade according to the following criteria: Numerical Grade Range Letter Grade A 93-1000 90-92 A- B+ 87-89 B 84-86 80-83 B- 0-59 Round the value of the input grade to the nearest integer before assigning a letter grade to it. Instead of using display. m to display the resulting letter grade, use the following syntax: fprintf AnGrade ssIn ', ltrGrade) Clear the command window prior to displaying the result

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!