hellow everyone . i have 2 following matricces .Say A =['dog' ;'cat' ; 'cow'] . B= [1;2;3] . now i want to get a matrix C such that C=['dog' 1;'cat' 2;'cow' 3]. please help me out.
MATLAB: Joining of 2 matricces
arraymatrix arraystrings
Related Question
- Comparing cell arrays of strings of unequal size/replacing missing values with zeroes
- Creating a matrix by some other matrices
- Can you use the concatenation ability of MATLAB to combine a 3×4 and a 3×5 matrix
- Algorithmically create block matrices
- Interpolation of zero values in matlab
- Random Generator with known characters
Best Answer