Table in matlab

I usually use uitable to do tables, but it doesnt satisfy me. I should get to this result:
N M F MAge SD
Healthy 23 11 12 55 2.5
MyoInfarct 23 17 6 54 6.3
P Yes
Or kinda similar. N, M, F are fixed data, Mage and SD are unknown and calculated eachm time, P should be Yes or No but 1 and 0 works fine as well. The problem is that first of all i'm not able to leave blank spaces in the P-row without using NaN,but this is not the problem,the real problem is this:

Respuestas (1)

Walter Roberson
Walter Roberson el 27 de En. de 2012

1 voto

You will probably have to convert all of your entries to strings and store the strings in the uitable cells.
There is no provision otherwise for blank entries, and there is no provision for a row to have column entries that are not the same type as the entries above.

1 comentario

Eric Keller
Eric Keller el 30 de En. de 2012
this is what I do, it also allows better formatting

Iniciar sesión para comentar.

Categorías

Más información sobre Develop Apps Using App Designer en Centro de ayuda y File Exchange.

Preguntada:

el 27 de En. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by