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]; // So that A and B have the same size tmp = A;A = B;A(:) = tmp; Y = beta(A,B);