代码搜索:Gradient
找到约 2,951 项符合「Gradient」的源代码
代码结果 2,951
www.eeworm.com/read/464287/7166575
m b82.m
vz=10;
a=.32;
t=0:2.1:1;
z=vz*t+1/2*a*t.^2;
vx=2;
x=vx*t;
vy=3;
y=vy*t;
u=gradient(x);
v=gradient(y);
w=gradient(z);
scale=0;
quiver3(x,y,z,u,v,w,scale)
xlabel('x轴');
ylabel('y轴');
zlab
www.eeworm.com/read/462042/7211803
txt 代码18-9.txt
clc; % 清理命令窗口
[I,map]=imread('eight.tif'); % 读入图像
subplot(2,2,1),imshow(I,map); % 显示原始图像
title('original image') % 设置图像标题
I=double(I);
www.eeworm.com/read/460749/7241401
cpp main.cpp
#include
#include "mainwidget.h"
int main(int argc, char * argv[])
{
QApplication app(argc,argv);
QTranslator translator;
translator.load("gradient_zh");
www.eeworm.com/read/456596/7344082
c filter.c
// Filtering for Image with variaty filtering kernel
//
// CV_PREWITT_3x3_V A gradient filter (vertical Prewitt operator).
// -1 0 1
// -1 0 1
// -1 0 1
// CV_PREWITT_3x
www.eeworm.com/read/456209/7353824
sci perform_cg.sci
function x = perform_cg(A,y,options)
// perform_cg - conjugate gradient
//
// x = perform_cg(A,y,options);
//
// Copyright (c) 2009 Gabriel Peyre
options.null = 0;
tol = getoptions(options, 'tol
www.eeworm.com/read/449504/7502981
m lsgrad.m
function G = lsgrad(b,infoz,stat,varargin)
% PURPOSE: Evaluate M(b)'Wm(b) Gradient of objective function
% -------------------------------------------------------------
% USAGE: function G = lsgrad(b
www.eeworm.com/read/447044/7559810
css_usingimagebackground listinga-12_polish.css_usingimagebackground
/* Listing A-12. Using an image Background for the Currently Focused Item */
focused {
padding: 9;
font-color: highlightedFontColor;
background {
image: url( gradient.png );
color: tr
www.eeworm.com/read/438950/7718819
txt cgm.txt
以函数
f=1-(1/(sqrt(2*pi)))*(exp((-(xi-3)^2+yi^2)/2)+0.6*exp((-(xi+3)^2+yi^2)/2));
为例 求解最小值
function f=conjugate_gradient(x0,eps)
x=x0;
syms xi yi a
f=1-(1/(sqrt(2*pi)))*(exp((-(xi-3)^2+
www.eeworm.com/read/198282/7942309
m examp3_27.m
[x,y]=meshgrid(-3:.2:3,-2:.2:2); z=(x.^2-2*x).*exp(-x.^2-y.^2-x.*y);
[fx,fy]=gradient(z); fx=fx/0.2; fy=fy/0.2;
contour(x,y,z,30); hold on; quiver(x,y,fx,fy)
zx=-exp(-x.^2-y.^2-x.*y).*(-2*x+2+2*x
www.eeworm.com/read/297947/7984490
m compute_structure_tensor.m
function H = compute_structure_tensor(M,sigma1,sigma2, options)
% compute_structure_tensor - compute the structure tensor
%
% T = compute_structure_tensor(M,sigma1,sigma2);
%
% sigma1 is pr