Extracting character before point (.)
2 次查看(过去 30 天)
显示 更早的评论
I have an character array (7879X1) and I want to extract character just before the point '.'For example my first 6 characters are given below and I want to pull just one character before point.
KT2.5FDR
CB6.456
DFRG8.9B
D6.GFDE8
CBNGD9.FD
CVDF8.BDF
So I should have a new cell array that consist of
2
6
8
6
9
8
How can I do this ? Thanks for your reply.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Cell Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!