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.