Concatenating matrices in a file into another matrix
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I am having certain 1*3 matrices; all of them are stored in a file (p.mat). All of them are of size 1*3; (for ex P1=[1 2 3]; P3=[2 2 1]etc. What I want to do is to combine all separate 1*3 matrices into one n*3 matrix(NOTE: THE NO. OF ROWS IN p.mat file CHANGES).
Any suggestions would be greatly appreciated.
1 个评论
Bob Thompson
2020-1-14
Where are the 1x3 matrices originating from? I personally do not know a way to do this without using bad coding practices, but it might be easier to capture the data on the front end, rather than the back.
采纳的回答
更多回答(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!