Setting the number of rows and columns in a UItable

3 vues (au cours des 30 derniers jours)
Harold
Harold le 12 Fév 2012
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).

Réponses (1)

Razvan
Razvan le 13 Fév 2012
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

Catégories

En savoir plus sur Color and Styling dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by