Filter löschen
Filter löschen

display values from matfile

2 Ansichten (letzte 30 Tage)
Elysi Cochin
Elysi Cochin am 10 Dez. 2012
I have a mat file with 4 variables, each variable contains 1 row and 3 column values.... i wanted to display these values of all variables in a table format that is one table with 4 rows and 3 columns with headings.... please cud someone help me....

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 10 Dez. 2012
v1=rand(1,3);
v2=rand(1,3);
v3=rand(1,3);
v4=rand(1,3);
f = figure('Position',[100 100 400 150]);
dat = [v1; v2;v3;v4];
t = uitable('Units','normalized','Position', [0.1 0.1 0.9 0.9], 'Data', dat, 'RowName',{'v1','v2','v3','v4'})

Weitere Antworten (0)

Kategorien

Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by