代码搜索:查表法
找到约 10,000 项符合「查表法」的源代码
代码结果 10,000
www.eeworm.com/read/249696/12479781
txt [c函数之e].txt
函数名: ecvt
功 能: 把一个浮点数转换为字符串
用 法: char ecvt(double value, int ndigit, int *decpt, int *sign);
程序例:
#include
#include
#include
int main(void)
{
char *s
www.eeworm.com/read/249069/12524638
txt 例4.9.txt
例4.9 用弦截法求方程f(x)=x3次方-5x2次方+16x-80=0的根。
#include
#include
#include
using namespace std;
double f(double); //函数声明
double xpoint(double, double);
www.eeworm.com/read/248715/12544963
c pse.c
/*********************************************************************
PSE.C - 用FFT实现功率谱估计
程序输入一个加入噪声的正弦信号, 采用周期图法来实现功率谱分析
参数如下:
slice = 每次FFT的长度,缺省为256;
numav = FFT取平均的组数,缺省为16;
ovlap
www.eeworm.com/read/334943/12560760
m 15-3.m
I = imread('rice.tif');
BW = edge(I,'canny');
% 以自动阈值选择法对图像进行Canny算子检测
[BW,thresh] = edge(I,'canny');
% 返回当前Canny算子边缘检测的阈值
disp('Canny算子自动选择的阈值为:')
disp(thresh)
subplot(121),imshow(BW);
title(
www.eeworm.com/read/248177/12590787
cpp 多项式 之.cpp
#include
#include
struct Term
{
double coefficient;//系数
int exponent;//指数
struct Term *next;//下一个指针
};
Term * creat()
{ //用头插法生成一个多项式,系数和指数输入0时退出输入
int m;
www.eeworm.com/read/248079/12602927
c thrice.c
/* 用弦截法求解方程的根 */
# include
# include
float f(float x)
{
float y;
y = ((x-8.0)*x+12.0)*x - 30.0;
return y;
}
float xpoint(float x1, float x2) /* 定义函数xpoint,求出弦
www.eeworm.com/read/333941/12651633
m parzen.m
% Parzen窗法,使用教材中的例子
function Parzen()
clear;
% 教材中a图,均值为零、方差为1的一维正态分布
x = linspace(-2, 2, 100);
X = norm_a(256);
p = Parzen_norm(x, X, 0.25, 1); subplot(4,6,1);plo
www.eeworm.com/read/238066/13909510
txt 例4.9.txt
例4.9 用弦截法求方程f(x)=x3次方-5x2次方+16x-80=0的根。
#include
#include
#include
using namespace std;
double f(double); //函数声明
double xpoint(double, double);
www.eeworm.com/read/135453/13928190
01 caibook16.01
Turbo C 2.0、Borland C++库函数及用例
字母A开头函数函数名: abort
功 能: 异常终止一个进程
用 法: void abort(void);
程序例:
#include
#include int main(void)
{
printf("Calling abort()\n");
abort();
www.eeworm.com/read/133875/14019523
m exm04311_1.m
%exm04311_1.m
%直接对域赋值法产生"单构架"。
green_house.name='一号房'; %构架域由(构架名).(域名)标识。
green_house.volume='2000立方米'; %
green_house.parameter.temperature=[31.2 30.4 31.6 28.7