Stuff during JLT writing...
This commit is contained in:
@@ -206,7 +206,7 @@ classdef ChannelFreqResp < handle
|
||||
|
||||
function plot(obj)
|
||||
|
||||
figure(55);
|
||||
figure();
|
||||
clf;
|
||||
|
||||
Havg = obj.H;
|
||||
@@ -225,7 +225,7 @@ classdef ChannelFreqResp < handle
|
||||
xlim([0.2 .5*max(obj.faxis)*1e-9]);
|
||||
grid on;
|
||||
|
||||
figure(56);
|
||||
figure();
|
||||
clf;
|
||||
|
||||
|
||||
@@ -246,7 +246,7 @@ classdef ChannelFreqResp < handle
|
||||
xlim([0.2 .5*max(obj.faxis)*1e-9]); grid on;
|
||||
|
||||
%%% plot for publication
|
||||
figure(1234);
|
||||
figure(101);
|
||||
hold all;
|
||||
box on;
|
||||
title('Magnitude Freq. Response');
|
||||
@@ -269,6 +269,25 @@ classdef ChannelFreqResp < handle
|
||||
legend('Interpreter','latex')
|
||||
grid on;
|
||||
|
||||
%
|
||||
figure(100); hold on;
|
||||
Havg = obj.H;
|
||||
Havg = Havg./max(Havg);
|
||||
Hall = obj.H_all;
|
||||
|
||||
for i = 1:size(Hall,1)
|
||||
Hall(i,:) = Hall(i,:)./max(Hall(i,:));
|
||||
end
|
||||
|
||||
%1)
|
||||
col = cbrewer2('Paired',8);
|
||||
hold all;box on;title('Magnitude Freq. Response');
|
||||
plot(obj.faxis/1e9, 20*log10(abs(Hall)),'linewidth',0.1,'LineStyle','-','Color',col(1,:),'HandleVisibility','off') ;
|
||||
xlim([0.2 .5*max(obj.faxis)*1e-9]);
|
||||
plot(obj.faxis/1e9, 20*log10(abs(Havg)),'LineWidth',2,'Color',col(2,:));
|
||||
grid on;
|
||||
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user