代码搜索结果
找到约 10,000 项符合
7 的代码
例7-7.m
>> Hc_box= uicontrol(gcf,'Style','check',...
'Position',[100 50 100 20],...
'String','Axis Box',...
'CallBack',[...
example7_7.m
%装载并图示原始图像
load gatlin2;
subplot(2,2,1);
image(X);
colormap(map);
title('原始图像');
axis square;
%==============================
%生成含噪图像并图示
init=2055615866;
randn('seed',init);
X1=X+10*randn(s
chap7_7.mdl
Model {
Name "chap7_7"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes
example7_7a.m
% 比例控制
G=tf(1,[1 3 3 1]);P=[0.1:0.1:1];
for i=1:length(P)
G_c=feedback(P(i)*G,1);
step(G_c),hold on
end
chap7_7.mdl
Model {
Name "chap7_7"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes
example7_7.m
%装载并图示原始图像
load gatlin2;
subplot(2,2,1);
image(X);
colormap(map);
title('原始图像');
axis square;
%==============================
%生成含噪图像并图示
init=2055615866;
randn('seed',init);
X1=X+10*randn(s
ex7_7.m
a=[1,2,-2;1,1,1;2,2,1];
b=[9;7;6];
[x,n]=jacobi(a,b,[0;0;0])
[x,n]=gauseidel(a,b,[0;0;0])
ans7_7.m
xth = 0;
tic
for x = -10:0.5:10
xth = xth + 1;
if x
example7_7.m
%首先,创建包含了期望的频率响应的矩阵Hd
[f1,f2] = freqspace(21,'meshgrid');
Hd = zeros(21);
Hd(7:15,7:15) = 1;
Axis([-1 1 –1 1 0 1.2]),
colormap(jet(64))
mesh(f1,f2,Hd)
%期望的滤波器的频率响应见图7-16
%然后,设计通过此响应的滤波器
h