代码搜索结果
找到约 16,374 项符合
Op-Amp 的代码
mampres.c
#include
#include
#include
#include "msp.h"
void mampres(complex h[],float amp[],int n,float fs,int iamp,
char filename[])
{
/*------------------------------------
four.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author lilac
*/
public class Four {
public int op; //操作符
pu
codeword.m
function [vl]=Codeword(PS,NS,OP,ps,ns)
s=size(OP);
for k=1:length(PS)
if(ps==PS(k))
i=k;
break;
end
end
if(ns==NS(i,1))
vl=TD2vec(OP,i,1,s(3));
elseif(ns==NS(i,2))
branchmetricv.m
function [BM]=BranchMetricV(t,ps,ns,PS,NS,OP,La)
N=length(PS);
for k=1:N
if(ps==PS(k))
i=k;
break;
end
end
if(ns==NS(i,1))
BM=exp(0.5*OP(i,1,2)*La);
elseif(ns
gamma.m
function [ga]=Gamma(L,ps,ns,PS,NS,OP,Lc,r)
s=size(OP);
for k=1:length(PS)
if(ps==PS(k))
i=k;
break;
end
end
if(ns==NS(i,1))
ga=Lc*0.5*sum(r(L+1,:).*TD2vec(OP,i,1,s(
bcjr.m
function [L]=BCJR(r,v,PS,NS,OP,SIG0,SIGR,Lc)
N=length(PS);
AL(1,1)=0;
AL(2:N,1)=-Inf;
G0(1)=Gamma(0,SIG0(1,1),SIG0(1,2),PS,NS,OP,Lc,r);%*0.5*sum(r(1,:).*Codeword(PS,NS,OP,SIG0(1,1),SIG0(1,2)))
detect.m
function [Op]=Detect(Ip)
s=size(Ip);
for n=1:s(1)
for m=1:s(2)
if(Ip(n,m) > 0)
Op(n,m)=1;
else
Op(n,m)=0;%-1
end
end
end
gammat.m
function [ga]=GammaT(L,ps,ns,PS,NS,OP,Lc,r,La)
s=size(OP);
for k=1:length(PS)
if(ps==PS(k))
i=k;
break;
end
end
if(ns==NS(i,1))
ga=(Lc*0.5*sum(r(L+1,:).*TD2vec(OP,i
probability.m
function [P]=Probability(k,ps,ns,PS,NS,OP,La)
N=length(PS);
for j=1:N
if(ps==PS(j))
i=j;
break;
end
end
if(ns==NS(i,1))
P=0.5*(1 + OP(i,1,k)*tanh(0.5*La));
el
polar.m
function [op]=Polar(ip)
s=size(ip);
for n=1:s(1)
for m=1:s(2)
if(ip(n,m)==0)
ip(n,m)=-1;
end
end
end
op=ip;