代码搜索:Approximation
找到约 1,542 项符合「Approximation」的源代码
代码结果 1,542
www.eeworm.com/read/350382/10745979
m 6-9.m
%例程6-9 方波信号的离散小波变换
% e.g.6-9.m for example6-9;
%test the function of wavedec.
clear all;
t=0:.01*pi:10*pi;
x=square(t,80);
X=x+randn(size(x))/10;
subplot(5,2,1:2); plot(t,X);
xlabel('Time
www.eeworm.com/read/349890/10794452
c denoise.c
#include "f2407_c.h"
#include "stdlib.h"
#include "stdio.h"
#include "wavelet_signal.h"
#include "math.h"
#define N0 64
double g0[8]={0.230378,0.714847, 0.630881, -0.027984 ,-0.187035, 0.0
www.eeworm.com/read/349111/10848944
m gtls.m
function [r,p,M,dh] = gtls(d,w,m,tol)
% GTLS - Global Total Least Squares approximation with
% one side weighting.
%
% [r,p,M,dh] = gtls(d,w,m,tol)
%
% D = [d1 ... dN] - data matrix, sd := size(D,1)
www.eeworm.com/read/349111/10848959
m mtlsx.m
function [m,dh] = mtlsx(d,x)
% MTLSX - Total Least Squares misfit computation.
% [M,DH] = MTLSX(D,X) gives the TLS misfit M and the TLS
% approximation DH of the data D by the model B(X).
if nargout
www.eeworm.com/read/349111/10848963
m wtlsap.m
function [p,info,dh] = wtlsap(d,w,m,opt)
% WTLSAP - Weighted Total Least Squares approximation
% by alternating projections (Algorithm 2.1).
%
% [p,info,dh] = wtlsap(d,w,m,opt)
%
% D = [d1 ... dN] - d
www.eeworm.com/read/417350/10993252
txt 06-21.txt
例6-21 使用diff函数求数值微分。
解:在命令窗口中输入如下命令,并按Enter键确认。
>> h = .002;
>> x = 0:h:pi;
>> diff(sin(x.^2))/h; %is an approximation to 2*cos(x.^2).*x
>> diff((1:10).^2)
ans =
3 5 7
www.eeworm.com/read/458493/7295636
m fidiff.m
function fidiff(x)
% fidiff First order finite-difference approximation to d/dx of exp(x)
%
% Synopsis: fidiff(x)
%
% Input: x = (optional) value at which the derivative is to be evaluated
www.eeworm.com/read/458493/7295773
m demohermite.m
function demoHermite(n)
% demoHermite Cubic Hermite interpolation of y = x*exp(-x) for 0
www.eeworm.com/read/458488/7296061
m fidiff.m
function fidiff(x)
% fidiff First order finite-difference approximation to d/dx of exp(x)
%
% Synopsis: fidiff(x)
%
% Input: x = (optional) value at which the derivative is to be evaluated
www.eeworm.com/read/458488/7296149
m demohermite.m
function demoHermite(n)
% demoHermite Cubic Hermite interpolation of y = x*exp(-x) for 0