代码搜索:精度
找到约 2,443 项符合「精度」的源代码
代码结果 2,443
www.eeworm.com/read/418049/10966748
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/471241/6900226
txt pq.txt
#include "stdio.h"
#include "math.h"
#define M 20 /*节点数、支路数极限值*/
#define N 5 /*迭代次数极限值*/
int n,m,dd=0,pq=0,pv=0,tt,qy;
float eps; /*节点数、支路数、对地支路数、pq节点数、pv节点数、控制打印、互联网数、精度*/
struct ji
www.eeworm.com/read/267412/6957991
m levy.m
function [num,den]=levy(fre,mag,ang,n)
%chapter 6 exercise 4
%levy法拟合成传递函数
%input
% fre-角频率(rad/s),mag-幅值,ang-相位(角度单位),n-分母阶数
%output
% num-分子系数,den-分母系数
alpha=1e-4;%精度
P=mag.*cos(pi*ang/180);
www.eeworm.com/read/467075/7015224
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/467086/7015474
c main.c
/*Main.c*/
/*AD采样基本程序,并带有排队滤波函数
采样结果的精度与稳定性与基准源和信号源有关
请在项目开发的时候选择稳定的电压基准源*/
#include "global.c"
void SystemInit();
void Timer1Init();
void KickDog();
void AD_Sample();
void Que();
www.eeworm.com/read/466623/7030147
m poly1.m
function c=poly1(A)
%POLY1 函数用 Fadeev-Faddeva 算法来取矩阵的特征多项式系数。
% 它完全可以取代 MATLAB 本身提供的 POLY 函数,且运算精度更高。
%Designed by Prof D Xue (c) 2000
[nr,nc]=size(A);
if nc==nr % 给出若为方阵,则用Fadeev算法求特征多项式
www.eeworm.com/read/172061/7074879
m quad8.m
function [Q,cnt] = quad8(funfcn,a,b,tol,trace,varargin)
%数值积分
%z=quad8('Fun',A,B,Tol,trace,p1,p2,L)
% 其中:"Fun"-表示被积函数的M函数名.
% A,B-上﹑下限.
% Tol-精度,缺省值为1e-3.
% trace-非零时显示计算过
www.eeworm.com/read/269444/7128591
m nrflow.m
%牛顿——拉夫逊法进行潮流计算
%n=input('请输入节点数:n=');
%nl=input('请输入支路数:nl=');
%isb=input('请输入平衡母线节点号:isb=');
%pr=input('请输入误差精度:pr=');
%iternu=input('请输入迭代次数:iternu=');
%B1=input('请输入由支路参数形成的矩阵: B1=');
%B2=i
www.eeworm.com/read/464349/7164860
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/464349/7164869
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