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

Respuestas (0)

Etiquetas

Preguntada:

el 3 de Jul. de 2015

Editada:

el 3 de Jul. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by