String to Categorical array
Ältere Kommentare anzeigen
Hi
I have an array of x=[zeros(1,120) ones(1,240)];
I want to convert it into a categorical array of 'Z' of size 1x120 and 'O' of size 1x240.
How to do that.?
Thanks in advance.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Categorical Arrays finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!