代码搜索结果
找到约 10,000 项符合
7 的代码
al7_7.c
/*案例代码文件名:AL7_7.C*/
/*功能:数组名作为函数参数,求平均成绩*/
float aver(float a[ ]) /*定义求平均值函数,形参为一浮点型数组名*/
{int i;
float av,s=a[0];
for(i=1;i
example7_7.m
%首先,创建包含了期望的频率响应的矩阵Hd
[f1,f2] = freqspace(21,'meshgrid');
Hd = zeros(21);
Hd(7:15,7:15) = 1;
Axis([-1 1 –1 1 0 1.2]),
colormap(jet(64))
mesh(f1,f2,Hd)
%期望的滤波器的频率响应见图7-16
%然后,设计通过此响应的滤波器
h
vfp7-7.htm
第七节 定制布局
chap7_7.mdl
Model {
Name "chap7_7"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes
xt7-7.cpp
#include
using namespace std;
#define NULL 0
struct student
{long num;
float score;
student *next;
};
int n;
void print(student *head)
{student *p;
c7-7.cpp
#include
#include
#include
using namespace std;
struct S
{int num;
string name;
char sex;
char job;
union
{int grade;
char position[10
xt7-7.cpp
#include
using namespace std;
#define NULL 0
struct student
{long num;
float score;
student *next;
};
int n;
void print(student *head)
{student *p;