代码搜索:查表法
找到约 10,000 项符合「查表法」的源代码
代码结果 10,000
www.eeworm.com/read/265866/11251750
txt lg.txt
#include
#include
#include
typedef struct data
{
float x;
float y;
}Data;//变量x和函数值y的结构
Data d[20];//最多二十组数据
float f(int s,int t)//牛顿插值法,用以返回插商
{
if(t==s+1)
www.eeworm.com/read/334943/12560080
m 12-10.m
I = imread('ic.tif');
J = imrotate(I,60,'bilinear','crop');
%双线性插值法旋转图像60度,并剪切图像和原图像大小一致
subplot(121),imshow(I)
title('原图像')
subplot(122),imshow(J)
title('旋转图像60度,并剪切图像')
www.eeworm.com/read/147198/12577128
asv thresh_md.asv
% function thresh_md(a)
tic;
a=imread('kids.tif');
% a=rgb2gray(A);
% 该函数实现最大方差法计算分割门限。
% 输入参数为灰度图像,输出为灰度分割门限
count1=imhist(a);
% 返回图像矩阵a各个灰度等级象素个数。
[m,n]=size(a);
gs=find(a==0);
mm=siz
www.eeworm.com/read/147198/12577140
m thresh_md.m
% function thresh_md(a)
tic;
a=imread('rice.tif');
% a=rgb2gray(A);
% 该函数实现最大方差法计算分割门限。
% 输入参数为灰度图像,输出为灰度分割门限
count1=imhist(a);
% 返回图像矩阵a各个灰度等级象素个数。
[m,n]=size(a);
gs=size(find(a==0));
www.eeworm.com/read/248081/12601435
txt cxshiyan.txt
* 进程调度实验
* 本程序提供了以下几种种进程调度方法
*1、可强占优先法
*2、普通的优先级算法
*
*/
#include
#include
#include
#include
#include
#include
const int
www.eeworm.com/read/247994/12608419
cpp second.cpp
# include
# include
double F1 (double x)//定义原函数
{
return (x*x*x/3-x);
}
double F2 (double x)//原函数一阶导
{
return (x*x-1);
}
double Newton(double x0, double e)//Newton迭代法
www.eeworm.com/read/247994/12608440
cpp third.cpp
# include
# include
double F1 (double x)//定义原函数
{
return (x*x*x/3-x);
}
double F2 (double x)//原函数一阶导
{
return (x*x-1);
}
double Newton(double x0, double e)//Newton迭代法
www.eeworm.com/read/146358/12655721
txt 模拟图像边缘检测的c代码[原创].txt
做一个简单模拟。
程序思路:先把图像放大K倍,然后检测边缘。使用Roberts梯度检测法。该方法在边缘附近有失真,产生伪边缘。
/*
to enlittle an image by K times
AUTHOR:BugEyes
http://BugEyes.blog.edu.cn
*/
#define N 6
#define K 3
#define
www.eeworm.com/read/237391/13965073
cpp 05.cpp
#include
#include
#define MAX_N 20
main()
{
int n;
int i,j,k;
int mi;
double mx,tmp;
static double a[MAX_N][MAX_N],b[MAX_N],x[MAX_N];
printf("实验五 列主元高斯消元法解 Ax=
www.eeworm.com/read/237332/13968213
cpp 05.cpp
#include
#include
#define MAX_N 20
main()
{
int n;
int i,j,k;
int mi;
double mx,tmp;
static double a[MAX_N][MAX_N],b[MAX_N],x[MAX_N];
printf("实验五 列主元高斯消元法解 Ax=