登录
首页 » Matlab » 录入程序代码,并对该实验代码进行调试,检查程序代码中的语法和语义错误。 编写函数f(x)的代码如下: Romberg算法¨ function z=...

录入程序代码,并对该实验代码进行调试,检查程序代码中的语法和语义错误。 编写函数f(x)的代码如下: Romberg算法¨ function z=...

于 2023-01-06 发布 文件大小:21.02 kB
0 143
下载积分: 2 下载次数: 1

代码说明:

录入程序代码,并对该实验代码进行调试,检查程序代码中的语法和语义错误。 编写函数f(x)的代码如下: Romberg算法¨ function z=f(x) if (x~=0) z=sin(x)/x else z=1 end 备注:在实验代码中,首先输入必要的变量的值如下: a=0 b=1 tol=1e-8 待查询检查通过,开始输入执行代码 设置格式format short g查看u的值和sin(u)的值: -Input program code, and debugging code for the experiment to check the program code in the syntax and semantic errors. The preparation of a function f (x) of the code is as follows: Romberg algorithm ¨ function z = f (x) if (x ~ = 0) z = sin (x)/x else z = 1 end Note: In the experimental code, First, enter the necessary value of the variable is as follows: a = 0 b = 1 tol = 1e-8 pending inquiries, checking through, began to enter the implementation of the code format format short g see u, values and sin (u) values:

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

发表评论

0 个回复

  • 20100318finalapplication
    说明:  一个用matlab编写的源程序,可以实现基于颜色直方图的图像检索(A source code written with matlab, you can achieve the color histogram-based Image Retrieval)
    2010-03-18 09:59:47下载
    积分:1
  • OFDMsimulation
    说明:  matlab 的 ofdm 系统程序 仿真(matlab simulation of ofdm system program)
    2010-04-14 23:00:32下载
    积分:1
  • hamming
    2010-04-27 22:27:00下载
    积分:1
  • 402189kalman_fliter
    kalman filter在参数估计中的应用(Kalman filter to estimate the parameters of)
    2007-03-12 16:47:58下载
    积分:1
  • radar_sp2016.m
    线性调频脉冲雷达信号的整个处理流程,包括脉冲压缩、MTI、MTD。代码规整,注释详细。(The whole LFM radar pulse signal processing,concluding match filtering、MTI、MTD.the code is clear and complex, the code annotation is detailed. )
    2017-04-11 16:36:22下载
    积分:1
  • 2019美赛必备LATEX模板(仅供参考)
    说明:  运用退火算法解决公共场合人流量问题,一次解决关于人员疏散相关问题(Applying annealing algorithm to solve the traffic problem in public places)
    2019-01-25 11:14:54下载
    积分:1
  • 案例1 BP神经网络的数据分类-语音特征信号分类
    说明:  MATLAB 学习小程序: BP神经网络的数据分类-语音特征信号分类(MATLAB learning applet: data classification of BP neural network-speech feature signal classification)
    2021-01-01 11:38:59下载
    积分:1
  • modulation
    The implementation of ASK OOK FSK and BPSK in MATLAB. I think it is useful to some friends. Thanks.
    2009-12-30 16:24:58下载
    积分:1
  • Gggaaborgae
    遗传+Gabor人脸/掌纹/指纹/虹膜等识别匹配程序源码。注意,该程序源码包含特征提取与匹配识别别,但是对输入的图像要求最好是经过定位归一化的。没经过定位归一化的图像,识别效果较差。 可直接使用。 (Genetic+ Gabor Face/Palmprint/fingerprint/iris recognition, such as matching program source. Note that the program source code contains the feature extraction and matching identification, but t )
    2012-04-26 16:49:03下载
    积分:1
  • -Elliptic
    We present elliptic curve cryptography (ECC) coprocessor, which is dual-field processor with projective coordinator. We have implemented architecture for scalar multiplication, which is key operation in elliptic curve cryptography. Our coprocessor can be adapted both prime field and binary field, also contains a control unit with 256 bit serial and parallel operations , which provide integrated highthroughput with low power consumptions. Our scalar multiplier architecture operation is perform base on clock rate and produce better performance in term of time and area compared to similar works. We used Verilog for programming and synthesized using Xilinx Vertex II Pro devices. Simulation was done with Modelsim XE 6.1e, VLSI simulation software from Mentor Graphics Corporation especially for Xilinx devices.
    2012-02-09 10:48:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载