代码搜索结果
找到约 16,374 项符合
Op-Amp 的代码
simulatesnr.m
function [snr,amp] = simulateSNR(ntf,OSR,amp,f0,nlev,f,k)
%[snr,amp] = simulateSNR(ntf,OSR,amp,f0=0,nlev=2,f=1/(4*OSR),k=13)
%Determine the SNR for a delta-sigma modulator by using simulations.
%The m
predictsnr.m
function [snr,amp,k0,k1,sigma_e2] = predictSNR(ntf,R,amp,f0)
%[snr,amp,k0,k1,sigma_e2] = predictSNR(ntf,R=64,amp=...,f0=0)
%Predict the SNR curve of a binary delta-sigma modulator by using
%the descri
dsexpand.m
function [sp, op] = dsexpand(s,c,k,n,o)
%function [sp, op] = dsexpand(s,c,k,n,o). Expand points s outward from c
%by a factor 1+k and update the offsets associated with normals n.
shift = c(:,ones(1,s
12232.plg
Build target 'Target 1'
compiling 12232.c...
.\12232.C(65): error C141: syntax error near '='
.\12232.C(73): error C213: left side of asn-op not an lvalue
.\12232.C(81): error C213: left side of asn-o
ldpc_demo.m
%clear all;
%clc;
tic
rows=256;
cols=512;
s=round(rand(1, cols-rows));
%产生H矩阵
H=genH(rows,cols);
%使用H矩阵进行LDPC编码
[u,P,rearranged_cols]=ldpc_encode(s,H);
SNR=2;
amp=1;
tx_wavefor
ldpc_demo.asv
%clear all;
%clc;
tic
rows=256;
cols=1024;
s=round(rand(1, cols-rows));
%产生H矩阵
H=genH(rows,cols);
%使用H矩阵进行LDPC编码
[u,P,rearranged_cols]=ldpc_encode(s,H);
SNR=2;
amp=1;
tx_wavefo
ldpc_demo.m
%clear all;
%clc;
tic
rows=128;
cols=256;
s=round(rand(1, cols-rows));
%产生H矩阵
H=genH(rows,cols);
%使用H矩阵进行LDPC编码
[u,P,rearranged_cols]=ldpc_encode(s,H);
SNR=10;
amp=1;
tx_wavefo
multi_path.asv
function [ich,qch] = multi_path(ich1,qch1 delay, amp)
len = length(delay);
max_del = max(delay);
signal_in=ich1+
signal_out = 10^(amp(1)/10)*[signal_in, zeros(1, max_del)];
for i = 2:len
multi_path.m
function [ich,qch] = multi_path(signal_in, delay, amp)
len = length(delay);
max_del = max(delay);
signal_out = 10^(amp(1)/10)*[signal_in, zeros(1, max_del)];
for i = 2:len
signal_out
upsample.m
function output=upsample(input)
tx_data = kron(input, ones(1,4));
f = [0 0.25*(200/256) 0.35*(200/256) 1];
amp = [1 1 0 0];
b = remez(80, f, amp);
%[b, aa] = butter(18, 1/4);
output = conv(b, tx