how to concat the cell matrix (containing text) to numeric array?
Show older comments
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')
Accepted Answer
More Answers (0)
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!