Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

i need to get data from list box as matrix like if i have list box and have values i need to order value as matix

1 visualización (últimos 30 días)
4
5
5
7
8
5
4
3
i want get matrix
a=[4 5 5 7;8 5 4 3];

Respuestas (1)

Walter Roberson
Walter Roberson el 9 de Jun. de 2016
a = reshape( str2double(get(handles.listbox1, 'String')), [], 2);

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by