how will be define multidimensional variable in matlab in the form of matrix so that it stores two information ?, not multidimensional array...
1 view (last 30 days)
Show older comments
1-2[111100001]
1-3[111011001]
1-4[110001010]
2-3[101010010]
2-4 [10101010]
3-4[101010010]
like this above ?
Accepted Answer
Torsten
on 19 Feb 2022
Edited: Torsten
on 19 Feb 2022
c=cell(4,4)
c{1,2} = [1 1 1 1 0 0 0 0 1];
...
3 Comments
Walter Roberson
on 25 Feb 2022
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 ?
More Answers (0)
See Also
Categories
Find more on Dates and Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!