I want to make a matrix with x,y values from ginput. How can I do it?

1 view (last 30 days)
[x,y] = ginput
to matrix like [x1,y1;x2,y2; and so on

Answers (1)

Akira Agata
Akira Agata on 30 Mar 2018
Simply, you should try
M = [x,y];

Categories

Find more on Visual Exploration 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!