Small snake game code
2016-08-23
0 0 0
no vote
Other
Earn points
Designing an algorithm, snake games what to do, using the C++ language, code is simple, very easy to understand,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
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
c++
代码
贪吃
小游戏
Related Source Codes
Local Path Planning Algorithm - DWA Algorithm
0
0
no vote
enDAQ-Shock-Data-Share-SRS-Blog
0
0
no vote
Calling chatGPT in a Windows application
0
0
no vote
Test Hello world
0
0
no vote
RCS calculation by one-way ray tracing
0
0
no vote
No comment