need to convert a cell into a vector number
1 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I need to convert a 1*1 cell into a vector array, below an example:
from this :
to this:
Which is the easiest way to do it?
Thank you so much in advcance! :)
3 个评论
采纳的回答
Stephen23
2022-4-29
C = {'80,47,109,44,104,40'} % why is this in a scalar cell array?
V = sscanf(C{:},'%f,',[1,Inf])
更多回答(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!