Borrar filtros
Borrar filtros

convert string to matrix

1 visualización (últimos 30 días)
Aseel H
Aseel H el 5 de Mayo de 2012
how convert stream of bits to matrix for example A = ['01100101']; I want B = [0,1,1,0,0,1,0,1];

Respuesta aceptada

Walter Roberson
Walter Roberson el 5 de Mayo de 2012
B = A - '0';

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by