What is the use of horzcat? Is there an advantage of using horzcat over manually concatenating arrays horizontally? for example:
A = {'a','b','c'};B = {'d','e'};C = horzcat(A,B);
This is the same as:
A = {'a','b','c'};B = {'d','e'};C = [A,B];
So, is there an advatage of using horzcat?
Best Answer