1 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 // Copyright (C) INRIA, Serge Steer
3 // Copyright (C) - 2010 - DIGITEO - Michael Baudin
4 // Copyright (C) DIGITEO - 2011 - Allan CORNET
6 // This file must be used under the terms of the CeCILL.
7 // This source file is licensed as described in the file COPYING, which
8 // you should have received as part of this distribution. The terms
9 // are also available at
10 // http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
13 //Inverse cosecant, result in degrees.
17 error(msprintf(gettext("%s: Wrong number of input argument(s): %d expected.\n"),"acscd", 1));
20 if and(type(x) <> [1 5]) | ~isreal(x) then
21 error(msprintf(gettext("%s: Wrong type for input argument #%d: Real sparse or full matrix expected.\n"),"acscd",1));
23 y = 180/%pi*asin(ones(x)./x);