24小时热门版块排行榜    

查看: 378  |  回复: 2

李三石

新虫 (小有名气)

[求助] 一位ADC的程序

谁有一位ADC的程序,也就是比较器的程序,有的话能不能给我一个,小弟感激不尽。
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

digghost

木虫 (著名写手)

【答案】应助回帖


感谢参与,应助指数 +1
jjdg: 金币+1, 感谢参与 2012-11-13 00:52:37
呵呵了
2楼2012-11-12 16:26:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

iroyvskyo

新虫 (初入文坛)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
李三石: 金币+50, 有帮助 2013-10-23 18:55:39
% solve the delay differential equation
function  xdot=sctr(t,x,z,p)
                 
    i=p.it+p.ip*sin(2*pi*p.f*t);  %调制电流形式
      xlag1=z(:,1);               %  transmitter feedback delay
      xlag2=z(:,2);               %  receiver feedback delay
      xlag3=z(:,3);               %  injection delay
      kcft=p.kft/p.tl;
      kcfr=p.kfr/p.tl;
      kcj1=p.kjtr/p.tl;
      kcj2=p.kjrt/p.tl;


%********transmitter laser with all-optical feedback*********
thft=p.wt*p.tet+p.th_e+x(3)-xlag1(3);                %t激光器的反馈相位延迟
thjrt=p.wr*p.tj+x(3)-xlag3(6)+(p.wr-p.wt)*t;         %r激光器注入t激光器的注入相位延迟
thfr=p.wr*p.ter+p.th_e+x(6)-xlag2(6);                %r激光器的反馈相位延迟
thjtr=p.wt*p.tj+x(6)-xlag3(3)+(p.wt-p.wr)*t;         %t激光器注入r激光器的注入相位延迟
     
      dnt=i/(p.V*p.q)-1/p.tn*x(1)-x(2)*p.Gn*(x(1)-p.n0)*(1+p.eps*x(2))^-1;
      dst=1/p.tn*p.gm*p.yt*x(1)-1/p.tpt*x(2)+x(2)*p.Gn*(x(1)-p.n0)*((1+p.eps*x(2))^-1)*p.yt...
                                 +2*kcft*sqrt(xlag1(2)*x(2))*cos(thft)+2*kcj2*sqrt(xlag3(5)*x(2))*cos(thjrt);
      dft=1/2*p.af*(p.Gn*(x(1)-p.n0)*((1+p.eps*x(2))^-1)*p.yt-1/p.tpt)...
                                 -kcft*sqrt(xlag1(2)/x(2))*sin(thft)-kcj2*sqrt(xlag3(5)/x(2))*sin(thjrt);
      dnr=p.ir/(p.V*p.q)-1/p.tn*x(4)-x(5)*p.Gn*(x(4)-p.n0)*(1+p.eps*x(5))^-1;
      dsr=1/p.tn*p.gm*p.yt*x(4)-1/p.tpr*x(5)+x(5)*p.Gn*(x(4)-p.n0)*((1+p.eps*x(5))^-1)*p.yt...
                                 +2*kcfr*sqrt(xlag2(5)*x(5))*cos(thfr)+2*kcj1*sqrt(xlag3(2)*x(5))*cos(thjtr);
      dfr=1/2*p.af*(p.Gn*(x(4)-p.n0)*((1+p.eps*x(5))^-1)*p.yt-1/p.tpr)...
                                 -kcfr*sqrt(xlag2(5)/x(5))*sin(thfr)-kcj1*sqrt(xlag3(2)/x(5))*sin(thjtr);

xdot=[dnt;
       dst;
       dft;
       dnr;
       dsr
       dfr];
%%%%***********************************%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
不枉此生!
3楼2013-10-23 18:55:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 李三石 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 听说今天filecode变了 +25 布布和一二 2026-08-06 48/2400 2026-08-11 11:37 by since—2010
[基金申请] 应该是93bebmhtak前后十一个字符比较关键 +15 Lanmanbaby 2026-08-09 23/1150 2026-08-11 09:51 by demonstreets
[基金申请] 我的国基提前知道中了,可是同事的操作让我实在接受不了,怎么会有这样的人 +8 家与远方 2026-08-10 13/650 2026-08-11 09:49 by 家与远方
[基金申请] 静等基金结果 +5 gjjjzhong 2026-08-10 16/800 2026-08-10 17:19 by Tide man
[基金申请] 关于Filecode分析方法 +3 majunge000 2026-08-10 3/150 2026-08-10 15:46 by lch2012
[基金申请] 国自然结果 +4 Vierhys 2026-08-10 8/400 2026-08-10 15:06 by Vierhys
[基金申请] 8月时间戳变的,举个手。玩一下,释放压力 +11 archvillain 2026-08-04 13/650 2026-08-10 14:41 by seekfind
[基金申请] 据悉今年马上要出结果了 +7 瞬息宇宙 2026-08-10 8/400 2026-08-10 12:42 by Vivilian
[基金申请] 2026国自然放榜时间 +9 布布和一二 2026-08-08 9/450 2026-08-10 11:22 by xxxx2020
[基金申请] 这样的filecode谁见过 +11 布布和一二 2026-08-08 22/1100 2026-08-10 11:10 by wmfsnow
[基金申请] fileCode有新解读? +10 Tide man 2026-08-08 18/900 2026-08-09 12:55 by 仁砚薪传
[基金申请] 关于filecode,很负责任的告诉大家 +6 爱看书的可乐 2026-08-08 7/350 2026-08-08 22:13 by a_niu
[基金申请] 关于豆爷回答的JTJC与%2F数量 +5 yang182083 2026-08-06 7/350 2026-08-08 18:29 by zhanghaozhu
[基金申请] 化学口download_prp&fileCode的固定段好像这几天一直没变,有变的大神么? +3 Tide man 2026-08-07 4/200 2026-08-07 22:39 by Tide man
[基金申请] 固定端突然变了,今天 +6 archvillain 2026-08-06 10/500 2026-08-07 16:03 by 医学老男孩
[基金申请] 大家散了吧,后缀研究没有意义,别浪费时间了,过好目前的每一天,不要焦虑 +5 Tide man 2026-08-06 7/350 2026-08-07 13:11 by 医学老男孩
[基金申请] filecode +14 等待解的谜 2026-08-06 19/950 2026-08-07 12:20 by wlwhappy
[基金申请] 求各位大神看下 100+6 hpkpkpkp 2026-08-05 33/1650 2026-08-06 14:49 by zhiyanjiang
[基金申请] 影响面上的因素 +8 布布和一二 2026-08-05 11/550 2026-08-06 10:41 by 宝贝虫子
[基金申请] 好消息?这个有何含义??? +8 Tide man 2026-08-05 10/500 2026-08-05 16:14 by xmuxiaoyu
信息提示
请填处理意见