代码搜索结果
找到约 10,000 项符合
7 的代码
example7_7.java
/*
* Example7_7.java
*
* Created on 2006年9月16日, 上午12:31
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package example7_7;
imp
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
l7_7.cpp
#include
class CBase1
{
protected:
int b;
public:
CBase1(int x=0)
{
b=x;
cout
f7_7.m
%正常人心律信号
%fid=fopen('normalecg.txt','r');
%充血性心脏心律信号
fid=fopen('heartfailure.txt','r');
%心室纤维颤动心律信号
%fid=fopen('atrialfib.txt','r');
x=fscanf(fid,'%f %f %f',[300 3]);
fclose(fid);
%采样频率
fs=
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])