登录
首页 » Visual C++ » recursion

recursion

于 2009-08-30 发布 文件大小:3KB
0 304
下载积分: 1 下载次数: 0

代码说明:

说明:  递归,是函数实现的一个很重要的环节,很多程序中都或多或少的使用了递归函数。递归的意思就是函数自己调用自己本身,或者在自己函数调用的下级函数中调用自己。 递归之所以能实现,是因为函数的每个执行过程都在栈中有自己的形参和局部变量的拷贝,这些拷贝和函数的其他执行过程毫不相干。这种机制是当代大多数程序设计语言实现子程序结构的基础,是使得递归成为可能。(Recursion, is a function to achieve a very important part of many programs are more or less use the recursive function. Recursive mean that the function of its own call to themselves or subordinates in their own function calls a function to call their own. Recursion that can be achieved because the function of each execution in the stack has its own shape parameters and local variables of the copy, the copy and the implementation process has nothing to do other functions. This mechanism is the most modern programming language implementation subroutine structure of the foundation is to make recursion possible.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • example4_4
    例4:在sinc(t)信号中叠加噪声,分析对应频谱 fs=100 采样频率,必须大于两倍基带信号最高频率 ts=1/fs 采样时间间隔 T=2 时间窗大小 ( x=x+0.1*randn(1,N) x=awgn(x,-10, measured ) figure plot(t,x) title( 时域信号图 ) xlabel( t /s ) y=fft(x,N) figure if mod(N,2)~=0 N=N-1 end f=linspace(0,fs/2,N/2) plot(f,abs(y(1:N/2))*2/N) title( 叠加噪声的sinc(t)信号频谱 ) xlabel( f /Hz ) figure y0=y(1:N/2) P=y0.*conj(y0)/N P=10*log10(P) plot(f,P) title( 功率谱 ) xlabel( f /Hz ) )
    2010-05-25 20:59:03下载
    积分:1
  • w_ipp-sample-jpeg_p_5.0.010
    intel的ipp性能库sample code,提供了加速的静态图象处理示例,充分显示了ipp在多核平台下的性能优势(intel performance of ipp library sample code, provided the acceleration of static image processing example, it shows that in multi-core platform ipp performance advantages)
    2007-08-29 11:12:54下载
    积分:1
  • huayuan
    自动画圆小程序 :只要有了坐标,就可以方便的大量快速画圆(Automatic Circle applet: As long as with the coordinates, you can quickly draw a circle to facilitate a large number of)
    2009-12-04 12:24:13下载
    积分:1
  • 0605mat_rw_matfile
    matlab生成的mat文件导入到vc++里面,方便matlab和vc联合编程,程序为最基础底层编程,已经过测试(matlab generated mat file into vc++ inside, easy matlab and vc joint programming, the program is the most basic underlying programming, has been tested)
    2021-03-04 16:09:32下载
    积分:1
  • 离散迭代
    离散迭代,对于离散系统,进行多次迭代,得到最终的准确结果(Discrete iteration)
    2017-09-23 20:02:42下载
    积分:1
  • copula
    关于copulas相关的比较齐全的编程代码,能够简单地将相应程序运行(About copulas related to the relatively complete programming code, can simply be the corresponding program to run)
    2013-03-17 11:12:53下载
    积分:1
  • 2
    说明:  地震数据通常含有噪音,通过该方法可以去除地震数据中的噪音,更好的反演结果(Seismic data usually contains noise, the method can remove the noise in the seismic data, better inversion results)
    2013-12-25 08:41:36下载
    积分:1
  • MATLAB
    说明:  MATLAB与C/C++混合编程代码,包括MATLAB引擎,MAT共享,MEX技术,COM,Mideva工具(MATLAB and C/C++ mixed programming code, including MATLAB engine, MAT share, MEX technology, COM, Mideva tools)
    2021-03-04 13:59:32下载
    积分:1
  • FunctionChaosPredict
    利用一阶局域加权法进行混沌时间序列的预测。(Using a weighted-rank local-region method of forecasting chaotic time series.)
    2020-11-28 19:39:29下载
    积分:1
  • bch
    BCH码的原理及BCH (15, 5)码MATLAB编译码仿真过程(BCH code of principles and BCH (15, 5) code decoding simulation MATLAB)
    2010-11-21 17:44:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载