Beta function
beta
Matlab beta function can work with only one scalar input an done not-scalar input parameter, but in Scilab both parameters must have the same size.
A = 1; B = [1 2 3]; Y = beta(A,B);
A = 1; B = [1 2 3]; tmp = A; A = B; A(:) = tmp // So that A and B have the same size Y = beta(A, B);