新聞中心

        EEPW首頁 > 電源與新能源 > 設計應用 > 信號完整性中信號上升時間與帶寬研究

        信號完整性中信號上升時間與帶寬研究

        作者: 時間:2011-12-21 來源:網絡 收藏
        本文的仿真代碼很簡單,我把代碼貼在這里,你可以自己在matlab上運行一下看看。

        本文引用地址:http://www.104case.com/article/178170.htm

          clc; clear all; pack;

          Fs = 10e9;

          Nsamp = 2e4;

          t = [0:Nsamp-1].*(1/Fs);

          f1 = 1e6;

          x0 = 3.3/2;

          x1 = x0 + 1.65*sin(2*pi*f1*t);

          x3 = x0;

          for n=1:2:3

          x3 = x3 + 3.3*2/(pi*n) * sin(2*pi*n*f1*t);

          end

          x5 = x0;

          for n=1:2:5

          x5 = x5 + 3.3*2/(pi*n) * sin(2*pi*n*f1*t);

          end

          x7 = x0;

          for n=1:2:7

          x7 = x7 + 3.3*2/(pi*n) * sin(2*pi*n*f1*t);

          end

          figure

          subplot(221)

          plot(x1)

          subplot(222)

          plot(x3)

          subplot(223)

          plot(x5)

          subplot(224)

          plot(x7)

          x217 = x0;

          for n=1:2:217

          x217 = x217 + 3.3*2/(pi*n) * sin(2*pi*n*f1*t);

          end

          figure

          plot(x217)

          figure

          plot(x217,'k')

          hold on

          plot(x1,'b')

          plot(x3,'g')

          plot(x7,'r')

          hold off

          axis([8000 12000 -0.5 4])


        上一頁 1 2 下一頁

        評論


        相關推薦

        技術專區

        關閉
        主站蜘蛛池模板: 寻乌县| 大宁县| 澄迈县| 西华县| 忻州市| 双鸭山市| 卫辉市| 田阳县| 武冈市| 菏泽市| 微山县| 锡林郭勒盟| 栾川县| 东光县| 织金县| 平湖市| 云南省| 通许县| 喀喇| 开封市| 马公市| 凤台县| 灵武市| 星座| 胶南市| 新丰县| 尼勒克县| 阿拉善左旗| 南川市| 贡觉县| 绥德县| 车险| 富蕴县| 门源| 称多县| 个旧市| 成武县| 东山县| 吕梁市| 开阳县| 上林县|