how to concat the cell matrix (containing text) to numeric array?
显示 更早的评论
i have two matrix A = size(20*1) containing number rr matrix containing True' or 'False'
if(A(i)<1)
rr{i}=['True'];
else
rr{i}=['False'];
end
i wanted to concate these two matrix such that
A
0.8 True
1 False
....
and so on
A= horzcat(A,rr')
i got the following error
Error using horzcat
CAT arguments dimensions are not consistent.
Error in sv
A= horzcat(A,rr')
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!