Community Profile

photo

Michael


Actif depuis 2011

Statistiques

  • First Review
  • Thankful Level 1

Afficher les badges

Content Feed

Afficher par

Question


How to convert a vector of integers to a vector of characters?
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'...

environ 11 ans il y a | 4 réponses | 0

4

réponses

Question


Matrix element counting by rows, histograms, etc.
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 ...

presque 12 ans il y a | 2 réponses | 0

2

réponses

Question


Pad a character array with n zeros
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 ...

environ 12 ans il y a | 2 réponses | 0

2

réponses

Question


randsample issues and generating random numbers from large populations
The randsample function is pretty handy -- I supply a population in a vector and a number of samples I'd like drawn uniformly wi...

environ 12 ans il y a | 3 réponses | 0

3

réponses

Question


How to count patterns in matrix rows?
I have some large, ternary matrices encoding sum-of-products representations of logic functions -- so they have zeros, ones and ...

plus de 12 ans il y a | 1 réponse | 1

1

réponse