代码搜索:Difference
找到约 3,389 项符合「Difference」的源代码
代码结果 3,389
www.eeworm.com/read/220289/14843745
m gradchek.m
function [gradient, delta] = gradchek(w, func, grad, varargin)
%GRADCHEK Checks a user-defined gradient function using finite differences.
%
% Description
% This function is intended as a utility for
www.eeworm.com/read/218376/14924249
cpp 牛顿值多项式.cpp
#include
#define N 4
void Difference(float *x,float *y,int n)
{
float *f;
int k,i;
f =new float[(n*sizeof(float))];
for(k=1;k
www.eeworm.com/read/116890/14950450
m mmderiv.m
function z=mmderiv(x,y)
%MMDERIV Compute Derivative Using Weighted Central Differences.
% MMDERIV(X,Y) computes the derivative of the function y=f(x) given the
% data in X and Y. X must be a vector, b
www.eeworm.com/read/216389/15015264
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/114038/15117500
diz file_id.diz
Small utility which calculates the
difference in hours and seconds between
a starting time and finish time.
Useful for calculating payroll hours,
overtime, etc.
With C source code. Freeware.
www.eeworm.com/read/213114/15142296
m mmderiv.m
function z=mmderiv(x,y)
%MMDERIV Compute Derivative Using Weighted Central Differences.
% MMDERIV(X,Y) computes the derivative of the function y=f(x) given the
% data in X and Y. X must be a vector, b
www.eeworm.com/read/212307/15160052
m gradchek.m
function [gradient, delta] = gradchek(w, func, grad, varargin)
%GRADCHEK Checks a user-defined gradient function using finite differences.
%
% Description
% This function is intended as a utility for
www.eeworm.com/read/210975/15189272
m mmderiv.m
function z=mmderiv(x,y)
%MMDERIV Compute Derivative Using Weighted Central Differences.
% MMDERIV(X,Y) computes the derivative of the function y=f(x) given the
% data in X and Y. X must be a vector, b
www.eeworm.com/read/208655/15239813
m calcbits.m
function [bits]=calcbits(bounds,precision)
% function [bits]=calcbits(bounds,precision)
%
% Determine the number of bits to represent a float number to the precision
% provided.
%
% bits - the nu