% 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