Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語 -
Справка Scilab >> Matlab to Scilab Conversion Tips > Matlab-Scilab equivalents > B > beta (Matlab function)

beta (Matlab function)

Beta function

Matlab/Scilab equivalent

Matlab Scilab

Particular cases

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.

Examples

Matlab Scilab
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);
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:13:37 CET 2017