Merge vector into a matrix
23 views (last 30 days)
Show older comments
I have a matrix and a vector, I need to merge the vector into the matrix randomly. can any one help??
Answers (1)
Sourabh Kondapaka
on 8 Feb 2021
Please have a look at the following links in the documentation:
- Concatenating Matrices
- Vertical Concatenation using vertcat
- Horizontal Concatenation using horzcat
- Concatenation of arrays using cat
0 Comments
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!