Stuart’s MATLAB Videos

Watch and Learn


I was asked recently how to generate all the combinations from two possible outcomes. It reminded me of a recent post on Flowing Data about the sum of two dice. This is a nice little function, combvec, that not everyone knows about.
  • print


To leave a comment, please click here to sign in to your MathWorks Account or create a new one.