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 Solvers123
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15782 Solvers
-
Return a list sorted by number of occurrences
2890 Solvers
-
Find the alphabetic word product
3459 Solvers
-
Check if number exists in vector
13869 Solvers
-
324 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!