{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

class3a_activity4

# class3a_activity4 - INPUTS CALCULATIONS-rnum =...

This preview shows page 1. Sign up to view the full content.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Programmer(s) and Purdue Email Address(es): % 1. % % Section: % % Assignment #: Class 3a, Activity 1 % % Academic Integrity Statement: % % I/we have not used source code obtained from % any other unauthorized source, either modified % or unmodified. Neither have I/we provided access % to my/our code to another. The project I/we am/are submitting % is my/our own original work. % % Program Description: Loading data and performing descriptive statistics. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % % --- INPUTS ---% % --- CALCULATIONS ---rnum = randn(1,1000)*5 + 80; % Generates 1000 Gaussian random variatlse with mean of 80 and s.d. of 5 rnum_mean = mean(rnum); rnum_std = std(rnum); rnum_sorted = sort(rnum); % --- OUTPUTS ----% hist(rnum,10) % Formats the graph according to proper plotting format title('Histogram of random numbers generated having a mean of 80 and standard deviation of 5') ylabel('Frequency') xlabel('Number value')...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online