how do i turn off the anova1() display option?

anova1() outputs a table and boxplot for each anova performed... the manual says that i can turn this "display option" off but it does NOT say how... my original code is p(k)=anova1(Z) i need something like p(k)=anova1(Z, ,'off') % middle input,'group', is left blank(no groups)... i have tried a few variations but i keep getting error messages

 채택된 답변

john borsellino
john borsellino 2013년 5월 16일

2 개 추천

one way to turn off the display for anova1
p(k)= anova1(Z) % original code line
change to
p(k)= anova1(Z,[],'off') % empty brackets tell matlab there are no groups...the 'off' references the display option and tells matlab to not show these tables and charts

추가 답변 (1개)

Tom Lane
Tom Lane 2013년 5월 16일

0 개 추천

Right idea but put an empty array between the commas:
anova1(Z,[],'off')

댓글 수: 2

i just found it myself thanks for your reply though...
i answered my own question...lol...am i actually learning matlab(==mindblown)

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Analysis of Variance and Covariance에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by