Hi - I have a vector of ints, typically 0/1, like this:
[0 0 0 0 1 0 0 0 0 1]
and I want to get this:
['0' '0' '0' '0'...
Asked 3 years ago
The randsample function is pretty handy -- I supply a population in a vector and a number of samples I'd like drawn uniformly wi...
Asked 4 years ago
Hi -- this is kind of tricky. I am using a 2D array (matrix) to store some information. The first n-1 columns hold indexes of ...
I have some large, ternary matrices encoding sum-of-products representations of logic functions -- so they have zeros, ones and ...
Asked 5 years ago
I know there are formatting tools to pad a certain number of zeros to a number when printing it -- I may be able to use that in ...
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries