Borrar filtros
Borrar filtros

how to change this?

1 visualización (últimos 30 días)
Younghun Kim
Younghun Kim el 12 de Jun. de 2020
Comentada: Younghun Kim el 13 de Jun. de 2020
I'm sorry I always ask you something similar.
I am studying Matlab.
I have a M
M = '0110000101100010011000111000000000000000000000000000000000000000'
how to make array like this? just 1 row
M_array = [ 0 1 1 0 0 0 0 1 0 1 1 0 0.......... 0 0 0 ]

Respuesta aceptada

KSSV
KSSV el 12 de Jun. de 2020
Editada: KSSV el 12 de Jun. de 2020
M_array = str2double(num2cell(M))
  1 comentario
Younghun Kim
Younghun Kim el 13 de Jun. de 2020
I appreciate what you did. Thank you!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by