代码搜索:Gradient
找到约 2,951 项符合「Gradient」的源代码
代码结果 2,951
www.eeworm.com/read/296389/8107698
m conjugateg.m
function [b1,k]=conjugateG(x0,y0)
esp=1*10^(-6);
k=0;
b0=zeros(2,1);
b0(1,1)=x0;
b0(2,1)=y0;
b1=zeros(2,1);
g_aim=zeros(2,1);
g_aim=gradient(x0,y0);
while(norm(g_aim)>esp&k
www.eeworm.com/read/143498/12870653
m attract.m
point_n = 21;
[xx, yy, zz] = peaks(point_n);
dx = 6/(point_n - 1);
dy = 6/(point_n - 1);
[px, py] = gradient(zz, dx, dy);
quiver(xx, yy, px, py);
axis equal; axis square;
axis([-inf inf -inf inf]);
www.eeworm.com/read/323831/13314275
cpp creinforce.cpp
// Copyright (C) 2003
// Gerhard Neumann (gerhard@igi.tu-graz.ac.at)
//
// This file is part of RL Toolbox.
// http://www.igi.tugraz.at/ril_toolbox
//
// All rights reserved.
www.eeworm.com/read/323831/13314354
cpp cpolicygradient.cpp
// Copyright (C) 2003
// Gerhard Neumann (gerhard@igi.tu-graz.ac.at)
//
// This file is part of RL Toolbox.
// http://www.igi.tugraz.at/ril_toolbox
//
// All rights reserved.
www.eeworm.com/read/323831/13314866
h cpolicygradient.h
// Copyright (C) 2003
// Gerhard Neumann (gerhard@igi.tu-graz.ac.at)
//
// This file is part of RL Toolbox.
// http://www.igi.tugraz.at/ril_toolbox
//
// All rights reserved.
www.eeworm.com/read/319871/13441225
m exm05522_1.m
%exm05522_1.m 表现diff和gradient指令计算。
clear
F=[1,2,3;4,5,6;7,8,9]
Dx=diff(F) %相邻行差分
Dx_2=diff(F,1,2) %相邻列差分。第三输入宗量2表示"列"差分。
[FX,FY]=gradient(F) %数据点步长默认为1
[FX_2,FY_2]=gradient(F,0.5)
www.eeworm.com/read/315858/13535371
txt lsq.txt
%打靶法求微分方程边值问题
% y1'=y2(x),y2'=(p*hc/A*k)*(y1(x)-293)
% lsq
while 1
y2=input('Type gradient,y2(0);or -99999 to quit:');
if y2
www.eeworm.com/read/305889/13757144
m example2_19.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/151092/5686339
java gradienticon.java
// GradientIcon.java
// GradientIcon is an Icon implementation that draws a 16 x 16
// gradient from startColor to endColor.
package com.deitel.advjhtp1.drawing;
// Java core packages
import ja
www.eeworm.com/read/117227/6105508
java kunststoffutilities.java
package com.incors.plaf.kunststoff;
/*
* This code was developed by INCORS GmbH (www.incors.com).
* It is published under the terms of the GNU Lesser General Public License.
*/
import java.awt.*;