代码搜索结果
找到约 10,000 项符合
7 的代码
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])
demo7_7.cpp
// DEMO7_7.CPP 16-bit surface to surface blitter demo
// INCLUDES ///////////////////////////////////////////////
#define WIN32_LEAN_AND_MEAN // just say no to MFC
#define INITGUID
#inclu
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
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])
plot_7_7.m
% make figure 7.7
Z2=zeros(4,491);
load run2
tail=[0 5 8 66];
z=sum(real(E).^2,2);
[y ind]=sort(z);
newE=E(ind,:);
for i=1:4,
Z2(i,:)=sum((real(newE(1:400-tail(i),:)).^2))/(400-tail(i));
xt7-7.cpp
#include
using namespace std;
#define NULL 0
struct student
{long num;
float score;
student *next;
};
int n;
void print(student *head)
{student *p;