In Matlab ,How to store an 8 bit value to the string ?

1 view (last 30 days)
Consider,
b(1,1,1)='10010101'
I would like to do like this:
k(2)=b(1,1,1)??
Is it possible?
Thanks in advance

Accepted Answer

Image Analyst
Image Analyst on 7 Jan 2017
You can do it with braces to make it a cell:
b{1,1,1} = '10010101'
k(2) = b(1,1,1)

More Answers (0)

Categories

Find more on Convert Image Type 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!