Navigation

Operators and Keywords

Function List:

C++ API

dsearch.m File Reference


Functions

 !assert (dsearch(x, y, tri, 1, 1/3), 3)
 !assert (dsearch(x, y, tri, 1/3, 1), 2)

Variables

function idx
endfunction!shared x
endfunction!shared y
endfunction!shared tri !x = [-1
 !y = [-1
 !tri = [1,2,3]

Function Documentation

!assert ( dsearch(x, y, tri, 1/3, 1)  ,
 
)

!assert ( dsearch(x, y, tri, 1, 1/3)  ,
 
)


Variable Documentation

!tri = [1,2,3]

endfunction !shared tri !x = [-1

!y = [-1

endif idx

Initial value:

 dsearch (x, y, t, xi, yi, s)
  if (nargin < 5 || nargin > 6)
    print_usage ()

endfunction !shared x

endfunction !shared y