Functions | |
endfunction | !error (cotd())%!error(cotd(1 |
endfunction | !assert (cotd(10:10:80), cot(pi *[10:10:80]/180),-10 *eps)%!assert(cotd([0 |
Variables | |
function | y |
endfunction !assert | ( | cotd(10:10:80) | , | |
cot(pi *[10:10:80]/180) | , | |||
-10 * | eps | |||
) |
endfunction !error | ( | cotd() | ) |
endif y |
Initial value:
cotd (x) if (nargin != 1) print_usage ()