Functions | |
y (I==round(I)&finite(I))=0 | |
endfunction | !error (sind())%!error(sind(1 |
endfunction | !assert (sind(10:10:90), sin(pi *[10:10:90]/180),-10 *eps)%!assert(sind([0 |
Variables | |
function | y |
endif | I = x / 180 |
endfunction !assert | ( | sind(10:10:90) | , | |
sin(pi *[10:10:90]/180) | , | |||
-10 * | eps | |||
) |
endfunction !error | ( | sind() | ) |
y |
Initial value:
sind (x) if (nargin != 1) print_usage ()