Home > utilities > inbox.m

inbox

PURPOSE ^

determine if points lie in a box

SYNOPSIS ^

function [pts] = inbox(box,x,y)

DESCRIPTION ^

 determine if points lie in a box

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [pts] = inbox(box,x,y)
0002 % determine if points lie in a box
0003 
0004 pts = find( x > box(1) & x < box(2) & y >box(3) & y < box(4));
0005 
0006

Generated on Wed 20-Feb-2019 16:06:01 by m2html © 2005