代码搜索结果
找到约 16,374 项符合
Op-Amp 的代码
kognitionui.rc
&File
jm99a1.m
%99年中国大学生数学建模竞赛a题:自动化车床管理模型一
%参见《数学的实践与认识》2000.1.p36-40
clear;opt=inf;
for n=[10 20 30]
for m=[200 300 400]
[x0,op]=fmins('jm99afun',[n m]);
if op(8)
jm99a.m
function [x,opt]=jm99a(n,m)
%99年中国大学生数学建模竞赛a题:自动化车床问
%参见《数学的实践与认识》2000.1.p36-40
opt=inf;
for n=10:5:30
for m=300:10:400
[x0,op]=fmins('jm99afun',[n m]);
if op(8)
silenceratio.m
function f=silenceRatio(x,m)
amp = energy(x);
tag=amp(1:end)>=m;
f=1-sum(tag)./length(tag);
tree.c
/*tree.c:管理抽象语法树,打印语法树的调试信息*/
#include "cmm.h"
static int where = STMT;
/*tree:生成语法树*/
Tree tree(int op, Type type, Tree left, Tree right)
{
Tree p;
NEW0(p,where);
p->op = op;
p->type = type;
dag.c
/*dag.c:将抽象语法树转换成dag的中间数据结构*/
#include "cmm.h"
#define iscall(p) (generic((p)->op) == CALL)
static struct dag {
struct node node;
struct dag *hlink;
}*buckets[16];
static int nodecount; /*公共子表达式的结点
cconv.m
function op = cconv(x,y)
%CCONV N-point circular convolution
%
% op = CCONV(x,y) performs the N-point circular convolution
% of vectors x and y. 'op' is returned as a row vector. x and y
% must be
mampres.c
#include
#include
#include
#include "msp.h"
void mampres(complex h[],float amp[],int n,float fs,int iamp,
char filename[])
{
/*------------------------------------
clip.m
function trout=clip(trin,amp);
% CLIP: clips the amplitudes on a trace
%
% trout=clip(trin,amp)
%
% CLIP adjusts only those samples on trin which are greater
% in absolute value than 'amp'. Thes
reflec.m
function [r,t]=reflec(tmax,dt,amp,m,n)
% REFLEC: synthetic pseudo random reflectivity
%
% [r,t]=reflec(tmax,dt,amp,m,n)
% [r,t]=reflec(tmax,dt,amp,m)
% [r,t]=reflec(tmax,dt,amp)
% [r,t]=reflec(t