Question
please provide the Matlab code and figure.

P2) Use MATLAB to plot the attenuation constant a in [dB/m] scale as a function of frequency f. Assume er = 10, u = Ho, and o
0 0
Add a comment Improve this question Transcribed image text
Answer #1

MATLAB code is given below in bold letters.

clc
close all;
clear all;

% define er
Er = 10;
E0 = 8.85*8.85e-12;

% define e
E = Er*E0;

% define permeability
mu0 = 1.256e-6;
mu = mu0;

% define sigma
sigma = 4;

% define frequency vector
w = 2*pi*logspace(-3,5,1e3);

% now define the attenuation constant
alpha = w.*sqrt(mu*E/2*(sqrt(1+(sigma./(w*E)).^2)-1));

% Now plot w vs alpha
figure;
plot(w,20*log10(alpha),'linewidth',2);
grid on;xlabel('frequency (rad/sec)');ylabel('dB/m');
title('attenuation constant, \alpha');

attenuation constant, a dB/m 6 frequency (rad/sec) x 10

Add a comment
Know the answer?
Add Answer to:
please provide the Matlab code and figure. P2) Use MATLAB to plot the attenuation constant a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT