array of numbers to chars in separate cells
显示 更早的评论
Hi, I would like to know how to get separate cells with chars from number array:
from
F=[1 20 30 100];
to
E={'1','20','30','100'};
采纳的回答
更多回答(2 个)
Honglei Chen
2012-4-30
E = mat2cell(F,1,ones(1,4)])
类别
在 帮助中心 和 File Exchange 中查找有关 Operators and Elementary Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!