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
-
2474 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2058 Solvers
-
Get the length of a given vector
13604 Solvers
-
1037 Solvers
-
Calculate the average value of the elements in the array
1822 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!