Controlchart example from Help Not Working

When following the help example.
Example: Create X-bar and R control charts for the PARTS data.
load parts
st = controlchart(runout,'chart',{'xbar' 'r'});
I get the following error:
>> load parts
>> st = controlchart(runout,'chart',{'xbar' 'r'});
Error using range Too many input arguments. Error in controlchart>getstats (line 494) stats.range = range(X,2); Error in controlchart (line 239) stats = getstats(X,G,cctypes,distn,unit,width);

Antworten (0)

Gefragt:

am 3 Jul. 2015

Bearbeitet:

am 3 Jul. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by