代码搜索:Gradient
找到约 2,951 项符合「Gradient」的源代码
代码结果 2,951
www.eeworm.com/read/202224/15389224
m mm2724.m
[X,Y,Z] = peaks(16);
[DX,DY] = gradient(Z,.5,.5);
contour(X,Y,Z,10)
hold on
quiver(X,Y,DX,DY)
hold off
title('Figure 27.24: 2-D Quiver Plot')
www.eeworm.com/read/201342/15409832
txt 08-22.txt
%例8-22 使用quiver函数绘制箭头图形。
>> % 该程序用于绘制箭头图形
>> [x,y] = meshgrid(-2:.2:2,-1:.15:1);
>> z = x .* exp(-x.^2 + y.^2);
>> [px,py] = gradient(z,.2,.15);
>> contour(x,y,z)
>>hold on
>> quiver(x,y,px
www.eeworm.com/read/201342/15409916
txt 06-22.txt
例6-22 使用gradient函数求近似梯度。
解:在命令窗口中输入如下命令,并按Enter键确认。
>> [x,y] = meshgrid(-2:.2:2, -2:.2:2);
>> z = x .* exp(-x.^2 - y.^2);
>> [px,py] = gradient(z,.2,.2);
>> contour(z)
>> hold on
>> quiver(px,
www.eeworm.com/read/200461/15432728
cpp yakacallstyle.cpp
#include "yakacallstyle.h"
void YakaCallStyle::polish(QPalette &palette)
{
QColor yakawhite(255, 255, 255);
QColor yakared(153, 0, 0);
QColor yakayellow(227, 177, 0);
palette.s
www.eeworm.com/read/200131/15440093
m exm060512_1.m
shg;clf;[X,Y] = meshgrid([-2:.2:2]);Z = 4*X.*exp(-X.^2-Y.^2);
G=gradient(Z);subplot(1,2,1),surf(X,Y,Z,G)
subplot(1,2,2),h=surf(X,Y,Z,G);
rotate(h,[-2,-2,0],30,[2,2,0]),colormap(jet)
www.eeworm.com/read/200131/15440155
m exm040522_1.m
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) %数据点步长为0.5
www.eeworm.com/read/200130/15440569
m quiver531.m
function quiver531
figure(1)
[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)
www.eeworm.com/read/101823/15458792
~dfm u_fr_yearper.~dfm
object Fr_yearper: TFr_yearper
Left = 0
Top = 0
Width = 455
Height = 298
TabOrder = 0
object DBChart1: TDBChart
Left = 0
Top = 0
Width = 455
Height = 298
All
www.eeworm.com/read/101823/15458799
dfm u_fr_yearper.dfm
object Fr_yearper: TFr_yearper
Left = 0
Top = 0
Width = 455
Height = 298
TabOrder = 0
object DBChart1: TDBChart
Left = 0
Top = 0
Width = 455
Height = 298
All
www.eeworm.com/read/106636/15631625
frm form1.frm
VERSION 4.00
Begin VB.Form Form1
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H80000005&
Caption = "Gradient Background Demonstration"