代码搜索结果
找到约 10,000 项符合
Analog 的代码
anlgfilt.cpp
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
// File = anlgfilt.cpp
//
// simulation of analog filter
//
#include
#include "anlgfilt.h"
//================
ex22 - throb.bs2
' {$STAMP BS2}
' ==============================================================================
'
' File...... Ex22 - Throb.BS2
' Purpose... Output a variable voltage with PWM
' Author.... Parall
specification.txt
Specification:
- control range from -95.5dB to +31.5dB
- step size 0.5dB/2.5dB
- two PGA2310 on board
- encoder input (1dB gains step)
- remote control (it learns commands from every RC5 pilot
contents.m
% PWSK_DSP TOOLBOX
% Matlab functions to accompany the companian book
% Digital Signal Processing using Matlab
% by Proakis and Ingle
% Publisher: PWS-Kent
%
ewbext.cnf
EwbLoadExtension ("ext\DIGITAL")
EwbLoadExtension ("ext\ANALOG")
EwbLoadExtension ("ext\CHIP")
EwbAddMenuExtension ("Import...", "ext\SPICEEWB")
EwbAddMenuExtension ("Export...", "ext\EWBSPICE")
p206.m
%program p206
%lp2hp chebshev I
N=9;
Rp=10;
w=400*pi;
[z,p,k]=cheb1ap(N,Rp);
[b,a]=zp2tf(z,p,k);
%design analog highpass filter
[bt,at]=lp2hp(b,a,w1);
[h,w]=freqs(bt,at);
semilogy(w/pi,abs(h
p310.m
%program p310
wp=0.2*pi;
ws=0.3*pi;
Rp=1;
Rs=15;
Ts=0.01;
Nn=128;
Wp=wp/Ts;%convert digital freq. to analog freq.
Ws=ws/Ts;
[N,Wn]=buttord(Wp,Ws,Rp,Rs,'s')%compute order and cutoff freq.
[z,
p308.m
%program p308
wp=2000*2*pi;
ws=3000*2*pi;
Rp=3;
Rs=15;
Fs=10000;
Nn=128;
[N,Wn]=buttord(wp,ws,Rp,Rs,'s')%compute order and cutoff freq.
[z,p,k]=buttap(N);%compute the analog filter
[Bp,Ap]=zp
p309.m
%program p309
wp=2000*2*pi;
ws=3000*2*pi;
Rp=3;
Rs=15;
Nn=128;
Fs=10000;
[N,Wn]=buttord(wp,ws,Rp,Rs,'s')%compute order and cutoff freq.
[z,p,k]=buttap(N);%compute the analog filter
[Bp,Ap]=zp
web51.lnp
"ANALOG.obj",
"ARP.obj",
"ETH.obj",
"HTTP.obj",
"ICMP.obj",
"IP.obj",
"MAIN.obj",
"SERIAL.obj",
"TCP.obj",
"TIMER.obj",
"UDP.obj",
"CKSUM.obj",
"WEBDOC1.obj"
TO "Web51"
RAMSIZE(256)