# defining a matrix in matlab
a = [1 2 3;4 5 6;7 8 9]
# taking 2 cloumn
a2 = a(:,2)
# changing 2 column to vector fmodel
fmodel = reshape(a2,1,[])
# taking 3 cloumn
a3 = a(:,3)
# changing 3 column to vector fexperiment
fexperiment = reshape(a3,1,[])
Comments
Thank you!
Leave a comment