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);

Risposte (0)

Richiesto:

il 3 Lug 2015

Modificato:

il 3 Lug 2015

Community Treasure Hunt

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

Start Hunting!

Translated by