Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need number 2 answered for matlab, we just learned the basics of statistics. 1. Create a 100,000-element vector filled with Gaussian random numbers using the

image text in transcribedNeed number 2 answered for matlab, we just learned the basics of statistics.
1. Create a 100,000-element vector filled with Gaussian random numbers using the command, x = randn (100000,1); . Implement a statistics function, [mux, sx1,sx2] = calculate-statistics (x) using for-loops that get approximately [0, 1,1] 2. Using the 100.000-element vector from Problem #1, plot the histogram of the data using the [n, v] = hist (x,nbins) command for values nbins of 20, 40 and 100. Plot the histograms in different colors on the same graph and display and comment on the results. (HINT: Use this function in the future)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

explain what is meant by the terms unitarism and pluralism

Answered: 1 week ago