Merge vector into a matrix
20 次查看(过去 30 天)
显示 更早的评论
I have a matrix and a vector, I need to merge the vector into the matrix randomly. can any one help??
回答(1 个)
Sourabh Kondapaka
2021-2-8
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!