代码搜索结果
找到约 33,766 项符合
Algorithm 的代码
linear_buffer_fir_filter_in_direct_form.m
% fir.m - sample processing algorithm for FIR filter.
%
% [y, w] = fir(M, h, w, x)
%
% h = order-M filter (row vector)
% w = filter state (row vector)
% x = scalar input
% y = scalar output
% based on
contents.m
% Genetic Optimization Toolbox
%
% Main interface
% ga.m The Genetic Algorithm
% initializega.m Initialization function for float and binary
% repres
lms algorithm demo.m
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% lmsalgo : LMS algorithm demo
% Author : Tamer abdelazim Mellik
% Contact information :
%Department of Electrical & Comp
iir_rls.m
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% rlsalgo : IIR RLS algorithm demo
% Author : Tamer Abdelazim Mellik
% Contact information :
%Department of Electrical & Comp
foreach.cpp
//: C05:ForEach.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Use of STL for_each() algorithm
1718.cpp
#include
#include
using namespace std;
struct stu{
long num;
int mark;
};
int main()
{
long aim;
int i,j,n,t;
while(cin>>aim){
stu ps[1001
2148stl.cpp
#include
#include
using namespace std;
void main()
{
int t,n,s,i,m;
cin>>t;
while(t--){
int score[1001];
cin>>n>>s;
for(i=0;i
1755.cpp
#include
#include
using namespace std;
int m,n,x,k,v,num;
int w[11],hash[101][101];
char w_2[11];
int main()
{
while(scanf("%d%d",&m,&n)==2){
for(int i=0;i
1785.cpp
#include
#include
#include
#include
using namespace std;
struct vec{
double x,y;
};
bool cmp(vec a,vec b){
return a.x*sqrt(b.x*b.x+b.y*b.y)>b.x*s
1939.cpp
#include
#include
using namespace std;
int main()
{
int i, a, d;
int at[15], def[15];
while(cin >> a >> d)
{
if(a == 0 && d == 0)
bre