代码搜索:精度可调
找到约 3,652 项符合「精度可调」的源代码
代码结果 3,652
www.eeworm.com/read/464287/7166562
m b41.m
I = imread('cameraman.tif');%读入图像
I = double(I)/255;
T = dctmtx(8);%计算离散变换矩阵,返回结果为双精度型
B = blkproc(I,[8 8],'P1*x*P2',T,T');%实现图像的显示块操作
mask =[1 1 1 1 0 0 0 0
1 1 1 0 0 0 0 0
www.eeworm.com/read/464120/7169189
c main.c
/*Main.c*/
/*AD采样基本程序,并带有排队滤波函数
采样结果的精度与稳定性与基准源和信号源有关
请在项目开发的时候选择稳定的电压基准源*/
#include "global.c"
void SystemInit();
void Timer1Init();
void KickDog();
void SPI_Init();
void DA_OUT(un
www.eeworm.com/read/460684/7243492
c binsearchroot.c
#include "math.h"
#include "stdio.h"
int BinSearchRoot(a,b,h,eps,x,m) /*用二法计算非线性方程的实根*/
int m;
/*参数意义:
a 要求的根的下界
b 要求的根的上界,即:所求的根落在区间 [a,b]之内
h 递进的步长
eps 精度
x 根的值
m 预计的根的
www.eeworm.com/read/445804/7589919
c adc0_temp_pro.c
//内部温度传感器调试程序//
//利用过采样实现16位精度//
//ADC0_TEMP_PRO.c
#include
#define ADC0START temppage=SFRPAGE;SFRPAGE=0x00;AD0BUSY=1;SFRPAGE=temppage
#define STACK_LEN 128
//采样128次,再将128个数据总和除以8
www.eeworm.com/read/445804/7589921
c adc0_temp_pro.c
//内部温度传感器调试程序//
//利用过采样实现16位精度//
//ADC0_TEMP_PRO.c
#include
#define ADC0START temppage=SFRPAGE;SFRPAGE=0x00;AD0BUSY=1;SFRPAGE=temppage
#define STACK_LEN 128
//采样128次,再将128个数据总和除以8
www.eeworm.com/read/445058/7599862
m muldnewton.m
function [r,m]=mulDNewton(F,x0,eps)
%非线性方程组:F
%初始解:x0
%解的精度:eps
%求得的一组解:r
%迭代步数:n
if nargin==2
eps=1.0e-4;
end
x0 = transpose(x0);
dF = Jacobian(F);
m=1;
tol=1;
while tol>eps
www.eeworm.com/read/445058/7599871
m mulstablepoint.m
function [r,n]=mulStablePoint(F,x0,eps)
%非线性方程组:f
%初始解:a
%解的精度:eps
%求得的一组解:r
%迭代步数:n
if nargin==2
eps=1.0e-6;
end
x0 = transpose(x0);
n=1;
tol=1;
while tol>eps
r= subs(F,finds
www.eeworm.com/read/440725/7682744
c binsearchroot.c
#include "math.h"
#include "stdio.h"
int BinSearchRoot(a,b,h,eps,x,m) /*用二法计算非线性方程的实根*/
int m;
/*参数意义:
a 要求的根的下界
b 要求的根的上界,即:所求的根落在区间 [a,b]之内
h 递进的步长
eps 精度
x 根的值
m 预计的根的
www.eeworm.com/read/439700/7702775
m muldnewton.m
function [r,m]=mulDNewton(F,x0,eps)
%非线性方程组:F
%初始解:x0
%解的精度:eps
%求得的一组解:r
%迭代步数:n
if nargin==2
eps=1.0e-4;
end
x0 = transpose(x0);
dF = Jacobian(F);
m=1;
tol=1;
while tol>eps