Setting the number of rows and columns in a UItable

4 次查看(过去 30 天)
I'm doing some data analysis and I would like to program a way of generating a table based off of the number of points entered in a textbox. I created a program that creates a b-spline surface using (x,y,z) coordinates of the control points which need to entered in the GUI. In the GUI I want to be able to tell the GUI to make a table n by n table (#rows=#columns) by a number entered in a text box.
Example: The user enters 16 (16 data points), clicks a button, a table is created either on the GUI or another window. 16 rows and 3 columns (for x, y, and z).

回答(1 个)

Razvan
Razvan 2012-2-13
16 rows and 3 columns doesn't seem to be a "n by n table" ...
Anyway, the examples from http://www.mathworks.com/help/techdoc/ref/uitable.html should be enough...
Razvan

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by