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

1 Ansicht (letzte 30 Tage)
Day Hong Kim
Day Hong Kim am 30 Mär. 2018
Beantwortet: Akira Agata am 30 Mär. 2018
[x,y] = ginput
to matrix like [x1,y1;x2,y2; and so on

Antworten (1)

Akira Agata
Akira Agata am 30 Mär. 2018
Simply, you should try
M = [x,y];

Kategorien

Mehr zu Data Exploration finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by