Effacer les filtres
Effacer les filtres

how to change this?

1 vue (au cours des 30 derniers jours)
Younghun Kim
Younghun Kim le 12 Juin 2020
Commenté : Younghun Kim le 13 Juin 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 ]

Réponse acceptée

KSSV
KSSV le 12 Juin 2020
Modifié(e) : KSSV le 12 Juin 2020
M_array = str2double(num2cell(M))
  1 commentaire
Younghun Kim
Younghun Kim le 13 Juin 2020
I appreciate what you did. Thank you!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by