how to save anovan figure as a .fig?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ghattas bisharat
am 1 Dez. 2022
Beantwortet: Star Strider
am 1 Dez. 2022
i'm using anovan in a loop to generate ANOVA for multiple variables,
and i was not able to save the generated figure as a .fig
i was wondering if there is a way to do so?
0 Kommentare
Akzeptierte Antwort
Star Strider
am 1 Dez. 2022
It is likely not possible to save the image, however anovan creates a table with the same information if you request it, and it is certainly possible to save that —
y = [52.7 57.5 45.9 44.5 53.0 57.0 45.9 44.0]';
g1 = [1 2 1 2 1 2 1 2];
g2 = {'hi';'hi';'lo';'lo';'hi';'hi';'lo';'lo'};
g3 = {'may';'may';'may';'may';'june';'june';'june';'june'};
[p,Tbl] = anovan(y,{g1,g2,g3}) % Return Table Of Results
writecell(Tbl, 'MyAnovanResults.txt') % Write Table Of Results To Text File
Tanovan = readtable('MyAnovanResults.txt', 'VariableNamingRule','preserve') % Read Table Of Results
The anovan function has other outputs as well that you may want to consider requesting.
.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!