Create 10000 gaussian random variables with m and s

Assignment Help Electrical Engineering
Reference no: EM13275926

Simulation of tossing a pair of fair dice can be done using the following two
MATLAB lines
X=ceil(6*rand(1,n));
Y=ceil(6*rand(1,n));
where n is the number of tosses.
1. Write a MATLAB script to determine the probability P[X+Y=7]. Use a "for" loop to run simulation fifty times with n = 10000. Plot the 100 estimated probability values along with the theoretical result of P[X+Y=7].

2. Write a MATLAB script to do the following
a. Create 10000 random variables uniformly distributed between 2 and 4.
b. Create a histogram to approximate the actual probability density function.
c. Superimpose the actual probability density function to the above histogram.

3. Write a MATLAB script to do the following
a. Create 10000 Gaussian random variables with m =2 and s = 3.
b. Create a histogram to approximate the actual probability density function.

Reference no: EM13275926

Questions Cloud

What is meant by hedging in the financial futures market : What is meant by "hedging in the financial futures market to offset interest rate risks"? How do firms engage in hedging activities? What knowledge is necessary to hedge the firm's risks?
Determine the conduction parameter and threshold voltage : Consider a GaAs MESFET. When the device is biased in the saturation region,Id=18.5 micrroamp,Vgs=.35 and Id=86.2 micro amp,Vgs=.5 determine the conduction parameter and k and threshold voltage Vth
Determine the power transmitted through the shaft of a car : Determine the power transmitted through the shaft of a car when the torque applied is 200 N · m and the shaft rotates at a rate of 4000 revolutions perminute (rpm).
Create random variables uniformly distributed between 2 nd 4 : a. Create 10000 random variables uniformly distributed between 2 and 4. b. Create a histogram to approximate the actual probability density function. c. Superimpose the actual probability density function to the above histogram.
Create 10000 gaussian random variables with m and s : Write a MATLAB script to determine the probability P[X+Y=7]. Use a "for" loop to run simulation fifty times with n = 10000. Plot the 100 estimated probability values along with the theoretical result of P[X+Y=7].
Prepare all necessary entries in general journal : Why is it stated that LIFO usually produces a lower gross profit than FIFO and prepare all necessary entries in general journal form for Sanford Corp.
Find the solution to the differential equation in part a : (a) Write down a differential equation modeling the current I(t) (b) Assume that V=0 and I(0)=Io. Find the solution to the differential equation in part a. (c) Assume that V>0 is a constant and I(0)=0. This corresponds to adding a switch to the circu..
Find maximum power is could deliver to a well chosen rl : A certain practical dc voltage source can provide a current of 5.5A when it is (momentarily) short-circuited, and can provide 28W to a 20Ω load. Find a.)The open-circuit voltage b.)The maximum power is could deliver to a well chosen RL
Estimate the coefficient of static friction : A 6.0-kg block is at rest on a horizontal floor. If you push horizontally on the 6.0-kg block with a force of 24.0 N, it just starts to move. What is the coefficient of static friction

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd