Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For i = 1 to 1000 generate 100 random numbers between -0.5 and 0.5 (using rand 0.5) add them up . Store this sum in

For i = 1 to 1000 generate 100 random numbers between -0.5 and 0.5 (using rand 0.5) add them up . Store this sum in a vector elements x(i)
end
Plot a histogram of x
image text in transcribed
for i = 1 to 1000 HW# 3-1. We said that the normal distribution can arise by summing a large number of random displacements or errors (like the Galton triangle). Write a Matlab script for the following pseudo-code: generate 100 random numbers between -0.5 and 0.5 (using rand 0.5) add them up store this sum in a vector element x(i) end Plot a histogram of Depending on the number of bins, and your random numbers, your histogram should look something ike this

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

Oracle 11G SQL

Authors: Joan Casteel

2nd Edition

1133947360, 978-1133947363

More Books

Students also viewed these Databases questions

Question

What is linear transformation? Define with example

Answered: 1 week ago