フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how do i get the cell matrix to be double ?

1 回表示 (過去 30 日間)
Derick Wong
Derick Wong 2014 年 1 月 5 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi all,
I have output a dict into a .txt file, and dict is in double format. Now I need to recapture back the data output from dict at .txt and to be name as Decompdict, however what I got is not in double format when I recaptured from .txt. May I ask how do I get a double format for my Decompdict? What I manage to get now is shown as below.
dict =
[-47] [1x10 double]
[-17] [1x10 double]
[ -7] [1x9 double]
[ -3] [1x7 double]
[ -2] [1x4 double]
[ -1] [1x2 double]
[ 0] [ 1]
[ 1] [1x3 double]
[ 2] [1x5 double]
[ 3] [1x6 double]
[ 7] [1x9 double]
[ 17] [1x10 double]
[ 30] [1x10 double]
DecompDict =
'-47' '[0,0,1,0,1,0,1,0,0,1]'
'-17' '[0,0,1,0,1,0,1,0,0,0]'
'-7' '[0,0,1,0,1,0,1,1,1]'
'-3' '[0,0,1,0,1,0,0]'
'-2' '[0,0,1,1]'
'-1' '[0,1]'
'0' '1'
'1' '[0,0,0]'
'2' '[0,0,1,0,0]'
'3' '[0,0,1,0,1,1]'
'7' '[0,0,1,0,1,0,1,1,0]'
'17' '[0,0,1,0,1,0,1,0,1,1]'
'30' '[0,0,1,0,1,0,1,0,1,0]'

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by