⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 leftof.m

📁 这是一个新的用于图像处理的工具箱
💻 M
字号:
function y=leftof(p,a,b)%function y=leftof(p,a,b)%Return 1 if the point p is to the left of the line ab.%For a n x 2 list of points p, return a vector of results.%% Author: Richard Schreier, Oregon State University. <schreier@ece.orst.edu>%Translate to the origin and do the checkp = p - a(ones(1,size(p,1)),:);b = b-a;y= b(1)*p(:,2) > b(2)*p(:,1);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -