Transform set of points into 2xN matrix

4 views (last 30 days)
windmill
windmill on 16 Nov 2020
Answered: Matt J on 16 Nov 2020
Hey, I have a set of points and I would like to transform them into a 2xN matrix. Does anyone know how to do this?
set1 = [1127.5092567565946 21118.835469307578
2097.463213460591 9328.79544234063
3539.4177177737092 11047.504786805754
8572.03609285832 14495.417734130933
9551.904618687126 2269.0142776663133
13745.38967420229 19804.449191203137
14136.999365920434 4883.337232683528
14750.017362512319 10485.275263940895
16027.197781051776 4043.6746228255442
17663.785433986435 8353.26438398738
17976.168323129066 5756.680159117731
19888.27850282776 14911.041188629051
23409.33939585629 6632.683374877276]
The points correspond to x and y coordinates. Therefore they should remain x and y values also after the transformation.
;

Answers (1)

Matt J
Matt J on 16 Nov 2020
set1.'

Community Treasure Hunt

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

Start Hunting!