MATLAB: DISPLAYOPT must be ‘on’ or ‘off’. displayopt Hi, in my code i had this error. The line where the error is that: stats_multcompare]=multcompare(stats_KW,0.05,'display','off'); can anybody help me?? Thanks Best Answer Maybe this will workstats_multcompare = multcompare(stats_KW,'display','off');Just remove the second input argument, 0.05, in your code. In MATLAB Product Ducmentation, the input argument Name and Value should be declared in pairsc = multcompare(stats,Name,Value) Related SolutionsMATLAB: Anovan: how to switch off the tables it produces it's sufficient to write:'display','off'e.g. [p] = anovan(Meanfiring,{orientation,contrast,window},... 'model',[1 0 0;0 1 0;0 0 1;1 1 0;1 0 1;0 1 1;1 1 1],'display','off'); MATLAB: Help with Linear Regression This works:d = load('liu James Linear .mat');Price = d.Price;time = d.time;mdl = fitlm(time, Price, 'linear')ypred = predict(mdl, [min(time) max(time)]');figure(1)plot(time, Price, '+')hold onplot([min(time) max(time)]', ypred, '-r')hold offgrid Related QuestionWhat is the output of kruskalwallisCoefTest and one tailed T-testRMSE – Root mean square Error
Best Answer