I have two matrices as A:
'1 2 3 4' 0.00959601005678583 4
'1 2 3' 0.00972420458014290 3
'1 2 4' 0.0107007400086486 3
'1 2' 0.0108439251050866 2
B:
2.20000000000000
1.91335914850010
2.01512388433582
1.73004520013173
Why cant i concatenate this horizontally using this function?
C=horzcat(A,B);
The error that shows is:
Error using horzcat Dimensions of matrices being concatenated are not consistent.
A
chars
? What areA(1)
andA{1}
and what do you get if you just typeA
? – Stewie Griffin