 My Math Forum How to perform Matlab programming for the biased coin toss simulation
 User Name Remember Me? Password

 Computer Science Computer Science Forum

 April 21st, 2018, 12:37 PM #1 Newbie   Joined: Apr 2018 From: Taiwan Posts: 4 Thanks: 0 How to perform Matlab programming for the biased coin toss simulation Let the bias be the probability of turning up a head and denoted by the parameter q. If we use a coin with the bias specified by q to conduct a coin flipping process d times, the outcome will be a sequence of heads and tails. Then the probability - where nH is the number of heads turned up during d trials. Now using such a simulated coin with q = ½ to conduct the experiments based on a sequence of outcomes generated by the random generator from computer. For example, if the number generated by the random generator is less than 1/2, it assigned to be 0; otherwise, it will be assigned 1. I would like to perform the Matlab programming with certain parameters for the Pattern Recognition (Binomial Distribution) as below - (1) d = 100 and n =100 using a simulated coin with q = ¼ and ½. (2) d = 10 and n =1000 using a simulated coin with q = ¼ and ½. (3) d = 100 and n = 1000 using a simulated coin with q = ¼ and ½. Kindly please provide your opinion and suggestion thus I will be able to improve my computing skills. (The result of the execution from program will be drawn into histogram on the PowerPoint) Tags biased, coin, matlab, pattern recognition, perform, programming, simulation, toss Thread Tools Show Printable Version Email this Page Display Modes Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Similar Threads Thread Thread Starter Forum Replies Last Post tlinetrader Probability and Statistics 3 May 20th, 2015 05:50 AM Sammy2121 Probability and Statistics 2 January 23rd, 2015 02:36 AM MathsLOL Algebra 1 March 26th, 2012 05:41 AM alexis2 Advanced Statistics 1 November 21st, 2010 12:02 PM jaybug624 Advanced Statistics 3 October 14th, 2009 06:15 AM

 Contact - Home - Forums - Cryptocurrency Forum - Top

Copyright © 2019 My Math Forum. All rights reserved.      