Problem 237. Half?
Solution Stats
Problem Comments
-
2 Comments
Peter Wittenberg
on 19 Dec 2012
binopdf(x/2,x,0.5) should yield the smallest solution. However, binopdf gets hung up on the input type. Does anyone know why?
J.R.! Menzinger
on 18 Mar 2013
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
Soobok
on 4 Nov 2020
{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 Solvers227
Suggested Problems
-
426 Solvers
-
287 Solvers
-
Test if two numbers have the same digits
227 Solvers
-
291 Solvers
-
Is this triangle right-angled?
4764 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!