how to display a matrix in a GUI
Afficher commentaires plus anciens
hello everyone; please would anyone tell me how to display a matrix in a GUI ; i already tried many methods but it didn't work for me . it's actually a matrix containing MFCCs and i want to display those coefficients in my interface that i already created .
2 commentaires
Jan
le 8 Avr 2017
Please explain any details. Show us the code and tell us the problems. Then specify, how you want the data to be displayed: as text or diagram? As surface plot or uitable?
nesrine ben aissa
le 8 Avr 2017
Modifié(e) : Walter Roberson
le 8 Avr 2017
Réponses (1)
Walter Roberson
le 8 Avr 2017
mfcc = mfcc_13_calc(wave);
f = figure('Name','interface');
t = uitable('Parent', f, 'Data', mfcc);
4 commentaires
nesrine ben aissa
le 8 Avr 2017
Walter Roberson
le 8 Avr 2017
Where I wrote
t = uitable('Parent', f, 'Data', mfcc);
instead of f, pass in the figure handle of the figure you want the table to be displayed in. Make sure you set a Position for the uitable.
nesrine ben aissa
le 8 Avr 2017
Walter Roberson
le 9 Avr 2017
Your f=figure() line is asking for a new figure to be created. I do not know why you are using that call.
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
