How to i add label to Vector ?
6 views (last 30 days)
Show older comments
I have vectore which dimension is 1024x1. I want to add label in cell. The expected output shoud be in cell which contain
{1024x1} when select that 1024x1 it show all 1024 value
{'bpsk'}
Accepted Answer
Walter Roberson
on 17 Apr 2021
C{1,1} = randi(9,1024,1);
C{2,1} = 'bpsk';
C
3 Comments
Walter Roberson
on 17 Apr 2021
You had an existing C that is interfering.
If you are trying to add a label to an existing numeric array, then you cannot do that.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!