User Portlet User Portlet

Discussions
Thanks a lot to both of you! both solutions are sufficient. What I don't understand yet is why I don't completely understand why the error isn't removed by formating as a list of lists: Select[{{0,0,1,0},{0,0,0,0},{0,1,0,1},{1,0,0,0}},...
Hello! I would like to understand how to work with boolean functions in a better way. Can you show me how to convert from a closed form to the truth table, ANF or DNF? For example, say I have a polynomial on four variables, f(w,x,y,z) = wx +...
The correct interpretation was SelectHamming[str_List,n_Integer]:=Select[str,Count[#,1]==n&] I am very grateful for your help, I didn't think of simply _counting_ the 1's, I was stuck trying to make it work with the HammingDistance since...