Error messagge for controlchart() for p chart

7 ビュー (過去 30 日間)
Alessio Sacchetto
Alessio Sacchetto 2015 年 7 月 16 日
回答済み: Sean de Wolski 2015 年 7 月 16 日
Hi, does anyone know why it is not working?
controlchart(num_of_def,month_year,'charttype','p','unit',num_of_obs,'nsigma',1)
num_of_def = [0 0 0 0 1; 0 0 0 0 2; 0 0 0 0 0; 0 0 0 0 1]
num_of_obs = [8 8 8 8 8; 6 6 7 6 6; 10 9 9 5 9; 2 1 1 1 1]
month_year = { 'luglio-15'; 'agosto-15'; 'settembre-15'; 'ottobre-15'}
the error message is:
??? Error using ==> controlchart>errorcheck at 971 WIDTH cannot be larger than the number of points.
Error in ==> controlchart at 233 errorcheck(X,ngroups,label,lambda,limits,parent,cctypes,nsigma,...
Thanks

回答 (1 件)

Sean de Wolski
Sean de Wolski 2015 年 7 月 16 日
You have four points, and five replicates (columns). You will need at least five points for this.

カテゴリ

Help Center および File ExchangeBiological and Health Sciences についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by