Question: MATLAB A B AO Q 1 table [ [ 1 , 8 , 9 ] , [ 2 , 8 , 8 ] ,

MATLAB
A
B
AO
Q
1
\table[[1,8,9],[2,8,8],[3,9,1],[4,1,7],[5,4,4],[6,3,10],[7,8,8],[8,4,6],[9,2,6],[10,3,9],[11,7,8],[12,7,7],[13,2,5],[14,2,4],[15,9,5],[16,2,3],[17,7,10],[18,3,7],[19,7,1],[20,10,4],[21,2,1],[22,3,5],[23,8,9],[24,8,10],[25,7,1],[26,,]]
C
D
E
F
G
H
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
fx
Enter text or formula here
Question 2
Question 3
Question 4Format Requirements: Make sure your m-file scripts are fully commented and organized. All plots must have labelled axes, a title, legend, font size 18, line thickness 5, and the grid lines must be activated.
Support Requirements: If you need help, visiting the TAs' or professor's office hours is highly recommended. If you cannot attend the scheduled office hours, the TAs and professor are also available by appointment. If you email questions, email the TAs first. If they cannot answer the question, your question will be escalated to the professor.
General Note: Many of the questions have built-in commands available in MATLAB or Octave to do these calculations automatically. You may NOT use these commands. The intent is for you to understand the logic of how your script must work to produce results. You will use the Excel file titled "ASE 1013 Numerical Analysis Assignment 5 Data" to perform these calculations. There are multiple sheets that have different data sets for different questions. These data sets are all formatted differently. You may NOT change the formatting of the excel sheet. Your MATLAB code must account for the different formats of the data sets.
Question 1: Compute the probability of the sum of 2 d 6 dice (ie. What are the odds of rolling a 7 etc.). Plot the probability versus the sum total; this is the expected distribution of a random set of rolls. You will plot a histogram of the sum of rolls of 2 d 6 assuming you have rolled 5, then 10, then 15, then 50, then 100 and finally 1000 rolls. In your code you should comment if each histogram has the expected distribution.
Question 2: Using the data from the sheet "Question 2" calculate the mean of this data set. Determine what the median value is; this will require your code to order the data set. IMAGE IS FOR QUESTION 2
MATLAB A B AO Q 1 \ table [ [ 1 , 8 , 9 ] , [ 2 ,

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 Programming Questions!