Community Profile

photo

Matthew


University of California Berkeley

Active since 2012

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Dice Probability on Matlab...so lost!!
Yatzi is a game played by rolling 5 dice. My function Yatzi simulates the rolling of 5 dice. The function should take one input,...

11 years ago | 1 answer | 0

1

answer

Question


Problems with graphing my histogram
endMy function called DicePlot, simulates rolling 10 dice 5000 times. In the function, it calculates the sum of values of th...

11 years ago | 1 answer | 0

1

answer

Question


Need help figuring out what I am doing wrong with my graph
my code:: function SumDice=RollDice(NumDice,NumRolls) NumDice=1 NumRolls=500 distribution=zeros(NumDice*6,1); f...

11 years ago | 2 answers | 0

2

answers

Question


Having trouble taking the mean of my list
I want to create a function called E7stats, which performs a simple statistical analysis on the scores of the first midterm, con...

11 years ago | 2 answers | 0

2

answers

Question


How to plot a probability density function on a histogram?
My function called DicePlot, simulates rolling 10 dice 5000 times. In the function, it calculates the sum of values of the 10 di...

11 years ago | 1 answer | 0

1

answer

Question


How to add a Sequence of Estimates to my Newton Raphson Code? please help!!
My code works BUT I need to add 1 more thing: # output- a vector containing the sequence of estimates including the initial g...

11 years ago | 0 answers | 0

0

answers

Question


How to show all the midpoints on my bisection code?
I have a code for finding the bisection, but I need to include 3 things please: # output- Root History a vector containing th...

11 years ago | 0 answers | 0

0

answers

Question


Need help editing my Newton Raphson Code
function [r,N]= newtonraphe7(fHan,x0,fTol,iterMax) iterations=0; max_no_roots=size(fHan,2); r=0; N=0; for no_r...

11 years ago | 0 answers | 1

0

answers

Question


Completely lost on BiSection Function in Matlab
I want to implement the bisection algorithm to solve nonlinear algebraic equations. My function is supposed to find a real root ...

11 years ago | 0 answers | 2

0

answers