how will be define multidimensional variable in matlab in the form of matrix so that it stores two information ?, not multidimensional array...

1 次查看(过去 30 天)
1-2[111100001]
1-3[111011001]
1-4[110001010]
2-3[101010010]
2-4 [10101010]
3-4[101010010]
like this above ?

采纳的回答

Torsten
Torsten 2022-2-19
编辑:Torsten 2022-2-19
c=cell(4,4)
c{1,2} = [1 1 1 1 0 0 0 0 1];
...
  3 个评论
VASUNDHARA V
VASUNDHARA V 2022-2-25
actual need is above one sir [11111000]
but i did it first made struct then struct to cell and then cell to mat ..its done sir ..thankyou sir
Walter Roberson
Walter Roberson 2022-2-25
To confirm, you really wanted the output to be a decimal value that is in the range of eleven million? Which would be something that you would not be able to easily separate out the digits of ?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dates and Time 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by