You are on page 1of 1

clear all;

clc;
for z = 0 : 0.2 : 1
i = 1;
for r = 0 : 0.1 : 3
A(i,1) = 1/sqrt((1-r^2)^2+(2*z*r)^2);
R(i,1) = r;
i = i+1;
end
plot(R(:,1),A(:,1));
xlabel('r');
ylabel('MF');
grid on;
hold on;
end

hold off;

You might also like