Given two matrices, a and b, concatenate the two matrices horizontally, i.e., the number of columns of the result should be equal to the sum of the number of columns of matrix a and matrix b. Assume both matrices a and b have the the same number of rows and the result will also have the same number of rows.
For example, if
The result should be 
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers124
Suggested Problems
-
Duplicate each element of a vector.
637 Solvers
-
The Answer to Life, the Universe, and Everything
585 Solvers
-
What is Sum Of all elements of Matrix
447 Solvers
-
5867 Solvers
-
Test Problem; Create a 5x5 array containing all ones
405 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!