代码搜索结果
找到约 10,000 项符合
7 的代码
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;
chap7_7.mdl
Model {
Name "chap7_7"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes
例7-7.txt
import java.util.*;
class Student
{
String name ;
int number;
float score;
Student(String name,int number,float score)
{
this.name=name;
this.number=number;
chap7_7.mdl
Model {
Name "chap7_7"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes
ex7_7.m
a=[1,2,-2;1,1,1;2,2,1];
b=[9;7;6];
[x,n]=jacobi(a,b,[0;0;0])
[x,n]=gauseidel(a,b,[0;0;0])
ch7_7.cpp
//*********************
//** ch7_7.cpp **
//*********************
#include
int maximum(int[][4],int,int);
void main()
{
int sg[3][4]={{68,77,73,86},
samp7_7.m
%Samp7_7
clf;N=1000;Fs=1000; %数据总数和采样频率
fc=200;
n=[0:N-1];t=n/Fs; %时间序列
f1=50;f2=250;
x=sin(2*pi*f1*t)+sin(2*pi*f2*t); %输入信号
b=fir1(40,fc*2/Fs); %设计40阶的低通滤波器,归一化截止频率据6-19式
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