登录
首页 » Matlab » 列出求素数的程序,所谓素数就是只能被它的自身和1除尽的数...

列出求素数的程序,所谓素数就是只能被它的自身和1除尽的数...

于 2022-03-11 发布 文件大小:1.08 kB
0 84
下载积分: 2 下载次数: 1

代码说明:

列出求素数的程序,所谓素数就是只能被它的自身和1除尽的数-require a prime number

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

发表评论

0 个回复

  • WeinaFilter_1
    自适应维纳滤波器在matlab中的实现,改进版(weina Filter advanced)
    2009-05-28 20:25:36下载
    积分:1
  • reference-adaptive-Model-in-control
    matlab code for beging cc motor...
    2013-12-16 23:13:47下载
    积分:1
  • HAMOLOLOMKMLKKMKLMKLMK
    函数y=力(P)
    2022-02-28 19:00:07下载
    积分:1
  • 基于稀疏表示的人脸识别算法
    源码实现了使用基于稀疏表示的人脸识别算法。使用GPSR作为l1模最小化方法。
    2022-04-10 12:19:13下载
    积分:1
  • Electromagnetic
    用matlab编写的电磁学方面的函数和图像(Prepared by using matlab function aspects of electromagnetics and images)
    2008-05-22 16:41:23下载
    积分:1
  • GA-and-PSO
    GA遗传算法与PSO离子群组合算法matlab程序,以下是使用本程序的简单介绍与使用步骤 1)修改设计变量个数 NPar变量定义的是设计变量个数,本例为8,使用时需根据自己实际情况进行修改。 2)修改设计变量的上下限 VarLow 与VarHign定义的是设计变量的上下限,使用时需根据自己实际情况进行修改。记住,变量的维数,要与1)变量个数一致哦。 3)修改FunName 变量FunName定义的是优化目标函数值的计算函数,根据自己实际情况改成自己的函数名。 4)修改最大迭代次数MaxIterations 要根据自己的问题实际,通过试算找出合适的MaxIterations数。 如果,你对GA与PSO比较精通,还可以通过修改KeepPercent、CrossPercent来提高算法的效率,但是对于初学者来说,上述的步骤与操作已经足够,所以其它不再赘述。祝你好运! (GA genetic algorithm and PSO Ion combination algorithm matlab program, the following is a brief description of the use of this procedure with the use of step a) to modify the design variables are defined by the number of NPar variable number of design variables, in this case eight, when used according to need their actual situation changes. 2) modify the design variables on the lower limit is defined VarLow and VarHign upper and lower limits of design variables need to be modified when used according to their actual situation. Remember, dimensions variable, the number to be with a) variable consistency oh. 3) Modify FunName variable FunName definition is to optimize the objective function value calculation function, according to their actual situation into their own function name. 4) Modify the maximum number of iterations MaxIterations issue according to their actual, through spreadsheets to find the appropriate number MaxIterations. If you are more proficient GA and PSO, but also can)
    2020-10-15 21:07:33下载
    积分:1
  • autocontrast
    contrast adjusment Contrast is the difference in luminance or color that makes an object (or its representation in an image or display) distinguishable. In visual perception of the real world, contrast is determined by the difference in the color and brightness of the object and other objects within the same field of view. Because the human visual system is more sensitive to contrast than absolute luminance, we can perceive the world similarly regardless of the huge changes in illumination over the day or place to place. The maximum contrast of an image is the contrast ratio or dynamic range
    2015-02-25 17:26:20下载
    积分:1
  • simulation
    在一个移动通信系统中,发射信号是一个未调制的音频x(t)=cos(2πft),其中f=f0+fi。设标称载波为f0=1GHz,并设fi =512Hz。假定移动用户在一个繁忙的高速公路上距离基站l公里处的地方,从开始从每小时60公里的速度开始,其速度(在0.01秒的时间间隔内测量)以1/2的概率随机的增加或减少1/10公里每小时。试仿真移动用户在这2s的时间间隔内所接收到的信号(及其频谱)。接收信号可以表示为: y(t)=a(t)Cos[2π(fo+f1)(t-△t)] 式中 △(t)=d(t)/c 且 a(t)=k/d2(t) 在上面的表达式中d(t)是在t时刻基站与移动用户的距离,c是光速,△(t)是传播延迟,而a(t)是信号在t时刻的衰减,并假设在这2s内a(t)是一个常数。利用复低通等效模型来进行仿真。(In a mobile communication system, the transmitted signal is an unmodulated audio x (t) = cos (2πft), where f = f0+ fi. Let nominal carrier of f0 = 1GHz, and set fi = 512Hz. Assume that mobile users on a busy motorway station l kilometers place, starting the beginning of 60 kilometers per hour, the speed (measured in 0.01 second interval) to increase the probability of a random 1/2 or reducing 1/10 km/h. Simulation test signal which the mobile subscriber in the 2s time intervals of the received (and its spectrum). The received signal can be expressed as: y (t) = a (t) Cos [2π (fo+ f1) (t- △ t)] Where △ (t) = d (t)/c And a (t) = k/d2 (t) In the above expression, d (t) at time t is a base station and a mobile user s distance, c is the speed of light, △ (t) is the propagation delay, and a (t) is the attenuation of the signal at time t, and assuming that 2s within a (t) is a constant. Using complex low-pass equivalent model for emulation.)
    2015-11-24 17:16:20下载
    积分:1
  • adaptivethreshoding
    thresholding technique
    2010-11-10 01:34:34下载
    积分:1
  • MATLAB-2660
    《MATLAB程序设计教程》源代码-2660(" MATLAB programming tutorial" source code-2660)
    2011-05-07 20:27:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载