secant 源代码

Secant技术,作为一种高效且精确的数值分析方法,在电子工程领域中广泛应用于信号处理、控制系统设计及优化问题求解。通过利用割线法逼近非线性方程的根,Secant算法为工程师提供了强大的工具来解决复杂电路仿真与系统建模中的挑战。掌握这一技能不仅能够提升您的专业竞争力,还能加速产品…

收录资源 53 份 全站深度检索
源码文件

x0 = 0; x1 = 1; maxit = 100; tol = 1e-5; [x,it,hist]=secant(x0,x1,'p217_10_2',maxit,tol,2)

源码文件

%求解两层、2阶第一个模式的色散曲线 @@@(程序1) %运用割线法 clear all; %下面是求解截止点附近时色散曲线的程序 l=2; wl1=500e-9; wlN=1000.36054e-9; deltawl=5e-9;…

源码文件

module NUMERICAL implicit none real, parameter :: zero=0.00001 ! 小于zero的值会被当成0 contains ! 割线法的函数 real function secant(…

源码文件

function x = secant(fun,a,b,xtol,ftol,verbose) % secant Secant method for finding roots of scalar f(x) = 0 % % Synopsis: x = …

源码文件

function [x,iter,time_elapsed]=nonlinear_conjugate_gradient(start_x, NCG_parameters, gradient_function, gradient_arguments,verbos…

源码文件

Public Sub Main() Dim Radians As Double For Radians = -0.5 to 0.5 Step 0.2 Debug.Print "Radians: "; Radians; "Cosine:…

源码文件

#include "stdafx.h" #ifndef lint static const char SCCSID[]="@(#)PJ_eqdc.c 4.2 94/03/16 GIE REL"; #endif #define PROJ_PARMS__ \…

源码文件

function out=Secant(x0,x1) fprintf(' \t\t Secant Method \n') fprintf(' \tsteps\tx0\t\tx1\t\tx2\t\tf(x0)\t\tf(x1)\t\tf(x2) \n') …

源码文件

function out=Secant(x0,x1) fprintf(' \t\t Secant Method \n') fprintf(' \tsteps\tx0\t\tx1\t\tx2\t\tf(x0)\t\tf(x1)\t\tf(x2) \n') …

源码文件

function out=Secant(x0,x1) fprintf(' \t\t Secant Method \n') fprintf(' \tsteps\tx0\t\tx1\t\tx2\t\tf(x0)\t\tf(x1)\t\tf(x2) \n') …