convert 128x2 char to 1x64 char
1 次查看(过去 30 天)
显示 更早的评论
How can I convert 128x2 char to 1x64 char
采纳的回答
KSSV
2020-9-26
If val is your char array..you can try something like:
iwant = strcat(val(1:2:end),val(2:2:end))
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!