Write a matlab function that would simulate rolling a biased

Assignment Help MATLAB Programming
Reference no: EM13531452

1) Write a MATLAB function that would simulate rolling a biased ("lucky") die N times; i.e., the function must return face values of N rolls of a biased die (N is a function input). Assume that the probability of "6" is 50% higher than for other face values, the probability of "1" is 50% lower than for other face values, and that all other faces are equally likely. Verify correct functionality of your function by appropriate experimentation.

2) Assume that a DC voltage with the amplitude 12 V is contaminated by white (Gaussian) noise with zero mean and standard deviation of 0.5 V. Evaluate with a proper MATLAB modeling the probability that the voltage will exceed 12.5 V. Compare your result with the theoretically derived one.

On the selected topic, perform the necessary experimental or (end) theoretical work. In your report:

1) State clearly your procedures; show MATLAB code if applicable;

2) Present results (preferably in graphical format) illustrating your work;

3) State appropriate conclusions;

4) List (if applicable) literature sources used.

Reference no: EM13531452

Questions Cloud

Find the time needed to reach the bottom of the incline : A uniform disk, of mass 2.0kg and radius 45cm, rolls from rest without slipping down an incline of length 35m and slope 30 degrees. find the time needed to reach the bottom of the incline
Evaluate the potential measured the solution ph : Calculate the potential that would be measured if the solution pH were 9.70, assuming the selectivity coefficient (Ks) for OH- is 0.1 and that ß is 1.00.
Find the acceleration of a point on the rim of the disk : A disk of radius 40cm is spinning at a constant angular velocity of 30radian/s. Find the acceleration of a point on the rim of the disk
Calculate the magnitude of the acceleration of the car : A car moving at 110 km/hr slams into a brick wall. If the hood of the car crumples 1.25 m during the crash, what is the magnitude of the acceleration of the car during the crash
Write a matlab function that would simulate rolling a biased : Write a MATLAB function that would simulate rolling a biased ("lucky") die N times; i.e., the function must return face values of N rolls of a biased die (N is a function input).
Obtain the tension in the string an instant before it broke : A 100g ball on a 50 cm long string is swung in a vertical circle about a point 200 cm above the floor. obtain the tension in the string an instant before it broke
Obtain the magnitude of the initial momentum of the car : A blue car with mass mc = 480.0 kg is moving east with a speed of vc = 23.0 m/s, obtain the magnitude of the initial momentum of the car
Explain how some of the oxygen molecules you breathe : Explain how some of the oxygen molecules you breathe today mayonce have been breathed by George Washington.
Explain extracted methylene chloride : How many Mg of catfish would be obtained if the same aqueous solution is extracted once with 60 ml of methylene chloride. Come pare the two results . In both experiments we use the same amount of organic solvent. However do we isolate the same amo..

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Create matlab function to plot the rotation of a wheel

Create Matlab function to plot the rotation of a wheel without sleeping. Plot the trajectory of any point on the wheel.

  Estimate the numerical wave speed

Scheme and try a couple of values for α, one close to 1 and the other not. Convince yourself that a smaller Δt is not necessarily a better choice.

  Dimensional plot of the free surface charge

Include a qualitative dispersion curve sketch thatdemonstrates the operating point at which your Matlab plot applies.

  Compute and flote 4 average temperature profiles

Generate by measdata.m an array A withsize (365,24), containing temperature measurements for an entire year [1 January,..., 31 December], 24 hours a day [00.00h,...,23.00h].

  Use matlab roots function to obtain the six roots

In the plot, you will see one root is obtained from an initial value that is close to another root. Can you explain by observing the plot why that is happening.

  Write a function named ''read_line''

Verify that your code works by saving some text into a file (created in notepad / textedit) and saving the file with extension '.txt'. You should attach the file (call it 'test.txt') with your code.

  Create a function that will determine the total resistance

Create a function that will determine the total resistance of a number of resistors that are connected in parallel. This function should accept a row vector for input,

  Create a script file for conversion of temperature

Create a script file for conversion of temperatures. Use the input function or menu function to allow the user to enter temperature scale of Fahrenheit, Celsius, Kelvin, or Rankine. If you are using the input function, tell the user to enter F for Fa..

  Plot way forms for the subsequent modulation schemes

Plot way forms for the subsequent modulation schemes using Matlab

  Determine the size for variables used in matlab program

If b=3, a=6 how many loops would the given program do? what will be the out put for z(4)? what would be size (in rows and columns) for variables z, i and b?

  Prepare a program to enter a scalar value of temperature

Create a program that prompts the user to enter a scalar value of temperature. If the temperature is greater than 98.6°F, send a message to the command window telling the user that he or she has a fever.

  Describe how you would access these 4 members

Create a namespace titled global Type that contains four members. The members should be two named constants, n and rate. It should also contain a variable count and the function printResult. Describe how you would access these 4 members in a progr..

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