Problem 237. Half?
44.37% Correct | 55.63% Incorrect
Last Solution submitted on Jun 06, 2023
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:
Solution CommentsShow comments
Problem Recent Solvers227
Number of 1s in a binary string
More from this Author100
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!