代码搜索:Approximation
找到约 1,542 项符合「Approximation」的源代码
代码结果 1,542
www.eeworm.com/read/134087/14008948
c adc1.c
/* adc.c - successive approximation A/D converter */
#include
double dac();
int u();
void adc(x, b, B, R)
double x, R;
int *b, B;
{
int i;
double y, xQ, Q;
Q = R /
www.eeworm.com/read/133415/14044512
m example2_3_1.m
load leleccum; %装载信号
s=leleccum(1:3920);
ls=length(s);
[cA1,cD1]=dwt(s,'db1'); %采用db1基本小波来分解信号
A1=upcoef('a','cA1','db1',1,ls); %第三步中产生的系数cA1和cD1构造第一层的低频和高频(A1和D1)系数
D1=upcoef('d','cD1','db1',1,l
www.eeworm.com/read/203170/15364504
c a-d_converter.c
/* adc.c - successive approximation A/D converter */
#include
double dac();
int u();
void adc(x, b, B, R)
double x, R;
int *b, B;
{
int i;
double y, xQ, Q;
Q = R /
www.eeworm.com/read/202224/15389108
m mm2405.m
% mm2405.m
x = [0 .1 .2 .3 .4 .5 .6 .7 .8 .9 1];
y = [-.447 1.978 3.28 6.16 7.08 7.34 7.66 9.56 9.48 9.30 11.2]; % data
n = 2; % order of fit
p = polyfit(x,y,n); % find polynomial coefficients
dp=po
www.eeworm.com/read/202224/15389251
m mm2401.m
% mm2401.m
x = -1:.17:2;
y=humps(x);
xx=[x;x;x];
yy=[y;zeros(size(y));y];
xx=xx(:)';
yy=yy(:)';
xi=linspace(-1,2);
yi=humps(xi);
plot(xx,yy,':',xi,yi,[-1,2],[0 0],'k')
title('Figure 24.1
www.eeworm.com/read/202224/15389261
m mm2406.m
% mm2406.m
x = linspace(0,2*pi);
y = sin(x);
dy = diff(y)/(x(2)-x(1));
xd = x(2:end);
plot(x,y,xd,dy)
axis tight
xlabel('x'), ylabel('sin(x) and cos(x)')
title('Figure 24.6: Backward Difference Deri
www.eeworm.com/read/201792/15396390
m xnewgrnn.m
function xNewgrnn
% xNewgrnn.m
% 函数逼近(function approximation)--用函数NEWGRNN()和SIM()创建和仿真
% 普遍化回归神经网络(generalized regression neural network,GRNN)
%
% Author: HUANG Huajiang
% Copyright 2003 U
www.eeworm.com/read/201006/15418417
m evalcost.m
function cost = evalcost(data, varargin),
% EVALCOST Evaluate the cost of an NFA model
%
% cost = EVALCOST(data, otherargs...)
% returns the cost function value for the given NLFA model.
% The sup
www.eeworm.com/read/201006/15418423
m feedfw.m
function x = feedfw(s0, net, approximation)
% FEEDFW Do feedforward
%
% Usage:
% x = feedfw(s, net, approximation)
% where x will be a cell array with intermediate results
% from se
www.eeworm.com/read/112799/15476518
c adc.c
/* adc.c - successive approximation A/D converter */
#include
double dac();
int u();
void adc(x, b, B, R)
double x, R;
int *b, B;
{
int i;
double y, xQ, Q;
Q = R /