Merge vector into a matrix
Show older comments
I have a matrix and a vector, I need to merge the vector into the matrix randomly. can any one help??
1 Comment
Adam Danz
on 3 Feb 2021
Define "merge".
Answers (1)
Sourabh Kondapaka
on 8 Feb 2021
0 votes
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
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!