-
小游戏贪吃蛇代码
设计出一个算法,贪吃蛇小游戏怎么做出来的,利用C++语言编写,代码简单,很容易看懂,function [p,ff] = oct3bank(noi);
pi = 3.14159265358979;
Fs = 500000; %1/(t(2)-t(1)); % Sampling Frequency
N = 3; % Order of analysis filters.
%f=[1.00 1.25 1.60 2.00 2.50 3.15 4.00 5.00 6.300 8.00]
ff=[20 25 31.5 40 50 63 80 100 125 160 200 250 315 400 500 630 800 1000 1250 1600 2000 2500 3150 4000 5000 6300 8000 10000 12500 16000]
%ff = ((2^(1/3)).^[0:19]); % Exact center freq.
p = zeros(1,30);
% Design filters and compute RMS powers in 1/3-oct. bands
- 2022-03-14 23:12:20下载
- 积分:1
-
遗传算法程序
遗传算法的程序实现,包括随机数产生,初始化种群,适应度计算,种群排序,反馈式突变选择、交叉、变异等步骤组成。
使用中自行调节适应度函数。
- 2022-07-26 12:05:46下载
- 积分:1
-
This is a picture, the National Mathematical Contest in Modeling a picture
这是一个图片,是全国大学生数学建模的一个图片-This is a picture, the National Mathematical Contest in Modeling a picture
- 2022-02-02 08:19:06下载
- 积分:1
-
pi的1万位算法
pi的1万位算法-the 10,000 Algorithm
- 2022-04-28 12:04:32下载
- 积分:1
-
Newton method for solution of non
Newton method for solution of non-linear equations in C
- 2022-07-07 09:50:58下载
- 积分:1
-
GUASS算法的列主元消去法
GUASS算法的列主元消去法-GUASS algorithm out PCA Elimination
- 2022-05-10 12:39:54下载
- 积分:1
-
Gabor提取图像纹理
Gabor提取图像纹理
/***************************************************************************
* Copyright (C) 2006 by Mian Zhou *
* M.Zhou@reading.ac.uk *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published
- 2022-02-04 16:25:38下载
- 积分:1
-
基本算法为:先将1填入第一行中间位置;再依次将2
基本算法为:先将1填入第一行中间位置;再依次将2-n方按如下规律填写://1,填入上个数上一行的右边位置,如果没有上一行则转到最后一行,如果右边没有方格//则转到最左边的方格。2,如果要填的位置上已经有数,则转填到它上一个数的下边方格//3,对于第一行的最后一个数的下一个数应填在该数下边的空格处-basic algorithm : a first Enter the middle of the first line; Another will be followed by 2-n-law filled out as follows :// 1, the number entered on the right side on his position, if not in his will to the last line, if not right box// then transferred to the most left while the box. 2, to fill the position of several, in turn, to fill it on a number of subordinate box// 3, the first trip to the final a few under a few should fill in the blank space of a few top candidate Department
- 2022-02-05 03:13:23下载
- 积分:1
-
k-means 遗传算法
K-means遗传算法是硬聚类算法,是典型的基于原型的目标函数聚类方法的代表,它是数据点到原型的某种距离作为优化的目标函数,利用函数求极值的方法得到迭代运算的调整规则。本程序是K-means遗传算法的VC++实现,DOS界面输出。
- 2022-07-12 12:29:41下载
- 积分:1
-
路由器最短路径测试源代码!
路由器最短路径测试源代码!-Shortest Path router test source code!
- 2022-01-26 00:10:38下载
- 积分:1