Hello,

That's weird, it seem I only receive the answers when I'm explicitly in the 
recipients list.

However:

> De : Heinz Nabielek <heinznabie...@me.com> Envoyé : samedi 5 novembre
> 2022 01:04
>
> N=10^(3:9);
> def=[300 100 30 10 3 1 0];
> for i=1:7;
> NN=N(i);
> for j=1:7;
> defects=def(j);
> A(i,j)=cdfbet("XY", defects+1, NN+1-defects, .95,.05); end; end;

You can vectorise your computation in the following way:

NN = meshgrid(N);
[foo, defects] = meshgrid(def);

P = 0.95*ones(NN);
Q = 1-P;

A = cdfbet("XY", defects+1, NN+1-defects, P, Q);

Regards


--
Christophe Dang Ngoc Chan
Mechanical calculation engineer


General
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error), please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.
_______________________________________________
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
http://lists.scilab.org/mailman/listinfo/users

Reply via email to