how to change this?

1 次查看(过去 30 天)
Younghun Kim
Younghun Kim 2020-6-12
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 ]

采纳的回答

KSSV
KSSV 2020-6-12
编辑:KSSV 2020-6-12
M_array = str2double(num2cell(M))

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by