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

26 次查看(过去 30 天)
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
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
Right idea but put an empty array between the commas:
anova1(Z,[],'off')
  2 个评论
john borsellino
john borsellino 2013-5-16
i just found it myself thanks for your reply though...
john borsellino
john borsellino 2013-5-16
i answered my own question...lol...am i actually learning matlab(==mindblown)

请先登录,再进行评论。

类别

Help CenterFile 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