Como cambio una matriz a otra cell array?
Publicado por Marco Antonio (61 intervenciones) el 08/10/2017 22:05:04
Tengo una matriz x13
estos valores los cambio a binarios
Ahora nesecito hacer un cell array con esta matriz de estaforma ejemplo
haci hasta llenar la matriz a con elementos de la matriz x13 muchas gracias
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
x13 =
1.0e+12 *
0.002896864837000
0.002896850679000
2.422491846982000
2.422491846982000
3.761855325641066
1.247265834646375
0.576030123579000
0.576030123583000
1.809452332534380
2.154669670788689
0.603858289442000
0.603867875990000
1.781026230547000
1.781026230621000
2.532904965414000
2.529684280058000
0.943142259353000
0.943142340457000
4.350485134953000
4.350485198917000
3.056612802949000
3.056084702120000
0.152949720567000
0.152949720463000
0.152949720463226
0.002896850679078
0.424420242910000
0.366427400452000
1.613350389737000
1.613350389561000
2.308446193207000
2.307831647261000
3.592812635785000
3.592813360900000
0.543998076277000
0.544009576409000
1.287886803068278
1.781026230621453
3.940451456924000
3.940450124198000
2.395492490757000
2.394832811163000
3.344423693661000
3.344433854788000
4.036879336225516
3.344433854788362
1.613350389560773
4.350485198917101
0.603867875989568
0.603867875989568
estos valores los cambio a binarios
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
dec2bin(x13)
ans =
000000000010101100101010101010011001000101
000000000010101100101010100110111011110111
100011010000000111110001000001100101000110
100011010000000111110001000001100101000110
110110101111100000000011001110010111001001
010010001001100110110101100100011010010110
001000011000011110000100100010011000111011
001000011000011110000100100010011000111111
011010010101001011110000110111010111110110
011111010110101100010100100000000110000100
001000110010011000110000100100001100100010
001000110010011001010101001000101010010110
011001111010101101011011111001000100010011
011001111010101101011011111001000101011101
100100110110111100111001101001010100100110
100100110011111100111011101101001011111010
001101101110010111101010001100101010011001
001101101110010111101010100000011101101001
111111010011101101000111101111111001101001
111111010011101101000111111111100001000101
101100011110101100010100100000000110000101
101100011110001100110101111101001110101000
000010001110011100100000111000010111110111
000010001110011100100000111000010110001111
000010001110011100100000111000010110001111
000000000010101100101010100110111011110111
000110001011010001011010101111010111011110
000101010101010000110001100110100100000100
010111011110100011001011010100011111101001
010111011110100011001011010100011100111001
100001100101111010000111011000011000110111
100001100101010101011111000100110000011101
110100010010000100010100100010011010001001
110100010010000100010111010011011100000100
000111111010101000110011111110010101110101
000111111010101001011111110101111111011001
010010101111011100000010010001000001111100
011001111010101101011011111001000101011101
111001010101110101001101011001011110011100
111001010101110101001000010100000110100110
100010110110111110011110101001111000000101
100010110110010111001010001011010010011011
110000101010101111001011111010110101011101
110000101010101111110010101011100101000100
111010101111101000110000100100001100100001
110000101010101111110010101011100101000100
010111011110100011001011010100011100111000
111111010011101101000111111111100001000101
001000110010011001010101001000101010010101
001000110010011001010101001000101010010101
Ahora nesecito hacer un cell array con esta matriz de estaforma ejemplo
1
A¨={'000000000010101100101010101010011001000101';'000000000010101100101010100110111011110111'...n}
haci hasta llenar la matriz a con elementos de la matriz x13 muchas gracias
Valora esta pregunta
0