Problem 237. Half?
Solution Stats
Problem Comments
-
2 Comments
binopdf(x/2,x,0.5) should yield the smallest solution. However, binopdf gets hung up on the input type. Does anyone know why?
the function you try to use belongs to the Statistics Toolbox, on cody it is only allowed to use Matlab alone, without toolboxes.
Read the notes on the right side in this link:
http://www.mathworks.de/matlabcentral/about/cody/#contribute_problems
Solution Comments
-
1 Comment
{The number of cases of OOOOXXXX, OOOXOXXX,...., XXXXOOOO}
x(1/2)^(x),
is equal to
y = 2^-(x)*factorial(x)/(factorial(x/2)*factorial(x/2)).
Problem Recent Solvers212
Suggested Problems
-
Renaming a field in a structure array
1048 Solvers
-
Find state names that start with the letter N
948 Solvers
-
Sum of diagonal of a square matrix
1447 Solvers
-
Set the array elements whose value is 13 to 0
1179 Solvers
-
5484 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!