代码搜索:gradient
找到约 2,951 项符合「gradient」的源代码
代码结果 2,951
www.eeworm.com/read/139772/13135201
pro testxxxx.pro
donlp2, v3, 05/29/98, copyright P. Spellucci
Thu May 15 15:11:02 2003
test
================================================================================
1-th iteration step
scf=
www.eeworm.com/read/325790/13184695
m gradx.m
function v=gradx(obj,x,t,w,u)
% Evaluates the gradient object at time t, with respect to x.
%
% Syntax: (* = optional)
%
% v = gradx(obj, x, t, w, u);
%
% In arguments:
%
% 1. obj
% The xsym
www.eeworm.com/read/325790/13184750
m gradw.m
function v=gradw(obj,x,t,w,u)
% Evaluates the gradient object at time t, with respect to w.
%
% Syntax: (* = optional)
%
% v = gradw(obj, x, t, w, u);
%
% In arguments:
%
% 1. obj
% The xsym
www.eeworm.com/read/325790/13184875
m gradx.m
function v=gradx(obj,x,t,w,u)
% Evaluates the gradient object at time t, with respect to x.
%
% Syntax: (* = optional)
%
% v = gradx(obj, x, t, w, u);
%
% In arguments:
%
% 1. obj
% The xlin
www.eeworm.com/read/325790/13184923
m gradw.m
function v=gradw(obj,x,t,w,u)
% Evaluates the gradient object at time t, with respect to w.
%
% Syntax: (* = optional)
%
% v = gradw(obj, x, t, w, u);
%
% In arguments:
%
% 1. obj
% The xlin
www.eeworm.com/read/325790/13184934
m gradx.m
function v=gradx(obj,varargin)
% Evaluates the gradient object at time t, with respect to x.
%
% Syntax: (* = optional)
%
% v = gradx(obj, x, t, w, u);
%
% In arguments:
%
% 1. obj
% The xha
www.eeworm.com/read/325790/13184987
m gradw.m
function v=gradw(obj,varargin)
% Evaluates the gradient object at time t, with respect to w.
%
% Syntax: (* = optional)
%
% v = gradw(obj, x, t, w, u);
%
% In arguments:
%
% 1. obj
% The xha
www.eeworm.com/read/138798/13211985
m rosegrad.m
function g = rosegrad(x)
%ROSEGRAD Calculate gradient of Rosenbrock's function.
%
% Description
% G = ROSEGRAD(X) computes the gradient of Rosenbrock's function at
% each row of X, which should h
www.eeworm.com/read/138798/13212173
m graddesc.m
function [x, options, flog, pointlog] = graddesc(f, x, options, gradf, ...
varargin)
%GRADDESC Gradient descent optimization.
%
% Description
% [X, OPTIONS, FLOG, POINTLOG] = GRADDESC(F, X, OP
www.eeworm.com/read/240541/13214469
m 6-26.m
[X,Y] = meshgrid(-2:.2:2);
Z = X.*exp(-X.^2 - Y.^2);
[DX,DY] = gradient(Z,.2,.2);
%梯度计算
contour(X,Y,Z)
%轮廓图绘制
hold on
quiver(X,Y,DX,DY)
%箭头图绘制
grid off
hold off
title '二维箭头图示例'