G.SKILL TZR DDR4 3200Hz 8Gx2 C14

% G.SKILL TZR DDR4 3200Hz 8Gx2 C14

clear

clf

clc

close

disp('G.SKILL TZR DDR4 3200Hz 8Gx2 C14')

%mfilename

tic

%---Set constants

C = [ 0.00 0.45 0.74;

0.85 0.33 0.10;

0.93 0.69 0.13;

0.49 0.18 0.56;

0.47 0.67 0.19;

0.30 0.75 0.93;

0.64 0.08 0.18;

0.68 0.92 1.00; ];

%---Set variables

Frequency=[ 2133 2666 2800 3000 3200 ];

Timings = [ 14 14 14 34

15 15 15 35

16 17 17 36

17 18 18 37

18 19 19 38 ];

Voltage = [1.2012 1.2144 1.2474 1.2804 1.3134];

%---Open a figure window

figure('Name','G.SKILL TZR DDR4 3200Hz 8Gx2 C14')

%---Plot figure

subplot(2,2,1)

plot(Frequency,Voltage,'Color',C(1,:),'LineStyle','-','LineWidth',1);hold on;

plot([2000 3500],[1.1 1.1],'Color','k','LineStyle','--','LineWidth',0.8);hold on;

plot([2133 2133],[1 1.5],'Color','k','LineStyle','--','LineWidth',0.8);hold on;

%---Plot points

scatter(Frequency,Voltage,10,'o','MarkerEdgeColor',C(1,:),...

'MarkerFaceColor',C(1,:),...

'LineWidth',1.5);hold on;

%---Set axis limits and aspect ratios

axis([2000 3500 1 1.5])

%---Set or query x-axis tick values and labels

xticks([ 2133 2666 2800 3000 3200 ])

xticklabels({'2133','2666','2800','3000','3200'})

%---Add title

title('Frequency-Voltage','FontSize',12,'FontWeight','bold','FontName','Cambria Math','Color',[0 0 0]);

%---Label axes

xlabel('Frequency/MHz','FontSize',12,'FontWeight','bold','FontName','Cambria Math','Color',[0 0 0]);

ylabel('Voltage/V','FontSize',12,'FontWeight','bold','FontName','Cambria Math','Color',[0 0 0]);

%---Plot figure

subplot(2,2,2)

plot(Frequency,Timings(:,1),'Color',C(2,:),'LineStyle','-','LineWidth',1);hold on;

plot([2000 3500],[14 14],'Color','k','LineStyle','--','LineWidth',0.8);hold on;

plot([2133 2133],[13 20],'Color','k','LineStyle','--','LineWidth',0.8);hold on;

%---Plot points

scatter(Frequency,Timings(:,1),10,'o','MarkerEdgeColor',C(2,:),...

'MarkerFaceColor',C(2,:),...

'LineWidth',1.5);hold on;

%---Set axis limits and aspect ratios

axis([2000 3500 13 20])

%---Set or query x-axis tick values and labels

xticks([ 2133 2666 2800 3000 3200 ])

xticklabels({'2133','2666','2800','3000','3200'})

%---Add title

title('Frequency-CAS#Latency','FontSize',12,'FontWeight','bold','FontName','Cambria Math','Color',[0 0 0]);

%---Label axes

xlabel('Frequency/MHz','FontSize',12,'FontWeight','bold','FontName','Cambria Math','Color',[0 0 0]);

ylabel('CAS#Latency/clocks','FontSize',12,'FontWeight','bold','FontName','Cambria Math','Color',[0 0 0]);

%---Plot figure

subplot(2,2,3)

plot(Frequency,Timings(:,3),'Color',C(3,:),'LineStyle','-','LineWidth',1);hold on;

plot([2000 3500],[14 14],'Color','k','LineStyle','--','LineWidth',0.8);hold on;

plot([2133 2133],[13 22],'Color','k','LineStyle','--','LineWidth',0.8);hold on;

%---Plot points

scatter(Frequency,Timings(:,3),10,'o','MarkerEdgeColor',C(3,:),...

'MarkerFaceColor',C(3,:),...

'LineWidth',1.5);hold on;

%---Set axis limits and aspect ratios

axis([2000 3500 13 22])

%---Set or query x-axis tick values and labels

xticks([ 2133 2666 2800 3000 3200 ])

xticklabels({'2133','2666','2800','3000','3200'})

%---Add title

title('Frequency-RAS#toCAS#Delay','FontSize',12,'FontWeight','bold','FontName','Cambria Math','Color',[0 0 0]);

%---Label axes

xlabel('Frequency/MHz','FontSize',12,'FontWeight','bold','FontName','Cambria Math','Color',[0 0 0]);

ylabel('RAS#toCAS#Delay/clocks','FontSize',12,'FontWeight','bold','FontName','Cambria Math','Color',[0 0 0]);

%---Plot figure

subplot(2,2,4)

plot(Frequency,Timings(:,4),'Color',C(4,:),'LineStyle','-','LineWidth',1);hold on;

plot([2000 3500],[34 34],'Color','k','LineStyle','--','LineWidth',0.8);hold on;

plot([2133 2133],[33 40],'Color','k','LineStyle','--','LineWidth',0.8);hold on;

%---Plot points

scatter(Frequency,Timings(:,4),10,'o','MarkerEdgeColor',C(4,:),...

'MarkerFaceColor',C(4,:),...

'LineWidth',1.5);hold on;

%---Set axis limits and aspect ratios

axis([2000 3500 33 40])

%---Set or query x-axis tick values and labels

xticks([ 2133 2666 2800 3000 3200 ])

xticklabels({'2133','2666','2800','3000','3200'})

%---Add title

title('Frequency-RAS#toCAS#Delay','FontSize',12,'FontWeight','bold','FontName','Cambria Math','Color',[0 0 0]);

%---Label axes

xlabel('Frequency/MHz','FontSize',12,'FontWeight','bold','FontName','Cambria Math','Color',[0 0 0]);

ylabel('Cycle Time/clocks','FontSize',12,'FontWeight','bold','FontName','Cambria Math','Color',[0 0 0]);

toc

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值