needleplotgrad.m
来自「hopfield neural network for binary image」· M 代码 · 共 23 行
M
23 行
% NEEDLEPLOTGRAD - needleplot of 3D surface from gradient data
%
% Usage: needleplotgrad(dzdx, dzdy, len, spacing)
%
% dzdx, dzdy - 2D arrays of gradient with respect to x and y.
% len - length of needle to be plotted.
% spacing - sub-sampling interval to be used in the
% gradient data. (Plotting every point
% is typically not feasible).
% Peter Kovesi
% School of Computer Science & Software Engineering
% The University of Western Australia
% pk @ csse uwa edu au
% http://www.csse.uwa.edu.au/~pk
%
% July 2003
function needleplotgrad(dzdx, dzdy, len, spacing)
[slant, tilt] = grad2slanttilt(dzdx, dzdy);
needleplotst(slant, tilt, len, spacing);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?