0% found this document useful (0 votes)
15 views2 pages

Graph

This document contains code to generate two graphs showing the influence of damping ratio (zeta) on amplitude and phase angle in the frequency region near resonance. The first graph plots amplitude versus frequency for different zeta values. It shows how amplitude decreases as zeta increases. The second graph plots phase angle versus frequency for various zeta. It demonstrates that phase angle lags further behind as zeta decreases. Both help illustrate the impact of damping on resonant behavior.

Uploaded by

Noor Hafiz Nizvi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views2 pages

Graph

This document contains code to generate two graphs showing the influence of damping ratio (zeta) on amplitude and phase angle in the frequency region near resonance. The first graph plots amplitude versus frequency for different zeta values. It shows how amplitude decreases as zeta increases. The second graph plots phase angle versus frequency for various zeta. It demonstrates that phase angle lags further behind as zeta decreases. Both help illustrate the impact of damping on resonant behavior.

Uploaded by

Noor Hafiz Nizvi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

GRAPH-1

%%Influence On Amplitude In The Frequency Region Near Resonance


x = 0:0.01:5;
for zeta = [1 0.5 0.375 0.25 0.15 0.1 .05 0]
for b = 1:0.01:5
z = 1./sqrt(((1-x.^2)).^2 +(2.*zeta.*(x)).^2);
end
figure(1)
plot(x,z)
axis ([0 5 0 5])
hold on
end
grid
title('Influence On Amplitude In The Frequency Region Near
Resonance');
xlabel('Frequency W/Wn');
ylabel('Xk/Fo');
legend('Zeta = 1','Zeta = 0.5','Zeta = 0.375','Zeta =
0.25','Zeta = 0.15')

GRAPH-2
%Relation Of Phase Angle ToFrequency Ratio
z = [1 0.375 0.15 0.05];
x = 0:.01:5;
h = [0];
r= length(x);
for k = 1:4
zeta =z(k) ;
for i = 1:r
y = ((2*zeta*(x(i)))/(1-(x(i))^2));
y = atand(y);
if (y < 0)
y = y + 180;
end
h(i) = y;
end
figure(2)
plot(x,h)
axis([0 5 0 180])
hold on
end
title('Relation Of Phase Angle ToFrequency Ratio');
xlabel('Frequency W/Wn');
ylabel('Phase Angle');
grid
legend('Zeta = 1','Zeta = 0.5','Zeta = 0.375','Zeta =
0.25','Zeta = 0.15')

You might also like