代码搜索结果
找到约 16,374 项符合
Op-Amp 的代码
1897493_ac_0ms_56k.c
# include
# include
# include
# include
int main()
{
int i, j, k, mark;
int num[100];
char eq[100], op[100], r[100];
while(gets(eq)!=NUL
alu8bit.v
module alu(CLK,RESET,A,B,Y,OP,C,N,V,Z);
//****************************************************
// 8 bit arithmetic logic unit
//
// parameter:
// CLK.......system clock
// RESET.....System Res
2-20.c
#include
void main(void)
{
double x,y,result;
char op;
int flag;
printf("input x,y,op:\n");
scanf("%lf%lf%c",&x,&y,&op);
flag=1;
switch(op)
{
case '+':
result=x+y;
code_block_generation.m
function [code_block,f_comp] = code_block_generation(ofdm_block)
global H
% get AMP
s = get(H.edit18,'String');
AMP = st2de(s);
AMP = round(AMP);
% get B
s = get(H.edit21,'String');
B =
ofdm_block_generation.m
function [ofdm_block,f] = ofdm_block_generation(code_block)
global H
% get N, AMP and M
s = get(H.edit8,'String');
N = st2de(s);
N = round(N);
s = get(H.edit18,'String');
AMP = st2de(s);
sflop.m
% PURPOSE:
% SFLOP simulates a floating point operation
%
% x op y where op = +, -, *, /
%
% In chopping or rounding arithmetic using an
% m digit mantissa, base 10, and an un
sflop.m
% PURPOSE:
% SFLOP simulates a floating point operation
%
% x op y where op = +, -, *, /
%
% In chopping or rounding arithmetic using an
% m digit mantissa, base 10, and an un
createnask.m
function [y, t, v, P] = CreateNASK(NASK, fc, amp, fs, RB, M)
% 产生ASK信号,其中NASK为进制数,典型的为2、4、8等,fc为载波频率,amp为载波基准幅度, fs为采样频率, RB为码元速率
% 载波为 c = amp*sin(2*pi*fc*t);
% y返回已调信号,t为时间矢量,v为码元矢量, P为采样信号的平均功率
createnpsk.m
function [y, t, v, P] = CreateNPSK(NPSK, fc, amp, fs, RB, M)
% 产生PSK信号,其中NPSK为进制数,典型的为2、4、8等,fc为载波频率,amp为载波基准幅度, fs为采样频率, RB为码元速率
% 载波为 c = amp*sin(2*pi*fc*t);
% y返回已调信号,t为时间矢量,v为码元矢量, P为采样信号的平均功率
create16qam.m
function [y, t, v, P] = Create16QAM(fc, amp, fs, RB, M)
% 产生PSK信号,其中NPSK为进制数,典型的为2、4、8等,fc为载波频率,amp为载波基准幅度, fs为采样频率, RB为码元速率
% 载波为 c = amp*sin(2*pi*fc*t);
% y返回已调信号,t为时间矢量,v为码元矢量, P为采样信号的平均功率
% [