代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/301474/3839535
m p4_2.m
% Program P4_2
% Gain Response of a Moving Average Lowpass Filter
clf;
M = 2;
num = ones(1,M)/M;
[g,w] = gain(num,1);
plot(w/pi,g);grid
axis([0 1 -50 0.5])
xlabel('\omega /\pi');ylabel('Gain in dB');
www.eeworm.com/read/301474/3839541
m p2_1.m
% Program P2_1
% Simulation of an M-point Moving Average Filter
% Generate the input signal
n = 0:100;
s1 = cos(2*pi*0.05*n); % A low-frequency sinusoid
s2 = cos(2*pi*0.47*n); % A high frequency sinus
www.eeworm.com/read/301474/3839608
m p4_2.m
% Program P4_2
% Gain Response of a Moving Average Lowpass Filter
clf;
M = 2;
num = ones(1,M)/M;
[g,w] = gain(num,1);
plot(w/pi,g);grid
axis([0 1 -50 0.5])
xlabel('\omega /\pi');ylabel('Gain i
www.eeworm.com/read/301474/3839614
m p2_1.m
% Program P2_1
% Simulation of an M-point Moving Average Filter
% Generate the input signal
n = 0:100;
s1 = cos(2*pi*0.05*n); % A low-frequency sinusoid
s2 = cos(2*pi*0.47*n); % A high frequency
www.eeworm.com/read/301474/3839682
m p4_2.m
% Program P4_2
% Gain Response of a Moving Average Lowpass Filter
clf;
M = 2;
num = ones(1,M)/M;
[g,w] = gain(num,1);
plot(w/pi,g);grid
axis([0 1 -50 0.5])
xlabel('\omega /\pi');ylabel('Gain in dB');
www.eeworm.com/read/301474/3839688
m p2_1.m
% Program P2_1
% Simulation of an M-point Moving Average Filter
% Generate the input signal
n = 0:100;
s1 = cos(2*pi*0.05*n); % A low-frequency sinusoid
s2 = cos(2*pi*0.47*n); % A high frequency sinus
www.eeworm.com/read/299916/3849580
m ip_02_04.m
% MATLAB script for Illustrative Problem 4, Chapter 2.
echo on
N=1000;
M=50;
Rx_av=zeros(1,M+1);
Sx_av=zeros(1,M+1);
for j=1:10, % take the ensemble average over 10 realizations
X=ran
www.eeworm.com/read/288165/4009421
c query.c
/* 学生成绩查询系统 */
# include
# include
void main( )
{
int select;
int i, j;
int score[5][7];
int average = 0;
int sum = 0;
do{
printf("本程序有4项功能:\n");
printf
www.eeworm.com/read/288165/4009444
c arr2point.c
# include
void main()
{
int num;
/* 声明子函数 */
void average(float *point, int n);
void search(float(*point)[4], int n);
/* 定义一个静态存储数组并赋初值 */
static float score[4][4] = {{76,
www.eeworm.com/read/274119/4188917
c query学生成绩查询系统.c
/* 学生成绩查询系统 */
# include
# include
void main( )
{
int select;
int i, j;
int score[5][7];
int average = 0;
int sum = 0;
do{
printf("本程序有4项功能:\n");
printf