I have a matrix which is [y1 x1 y2 x2 y3 x3.......]. The size variable depends on the input, I wanna extract y(i) and x(i) seperately from this matrix.
2 views (last 30 days)
Show older comments
m=[y1,x2,y2,x2,y3,x3,.......] I wanna extract y(i) as y_column=[y1;y2;y3;y4;....] and x_column=[x1;x2;x3;x4;.......]
0 Comments
Accepted Answer
More Answers (0)
See Also
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!