Home Questions about using Matlab to plot reflection coefficient
Reply: 0

Questions about using Matlab to plot reflection coefficient

user474
1#
user474 Published in June 20, 2018, 7:22 am

I am trying to use matlab to make a plot to show the reflection coefficient versus load resistance with X-axis 10^x. my code below:

x = 1:1000; %define x from 10^0 to 10^3
y = ((x-50)/(x+50)); % this is the reflection coefficient equation
semilogx (x,y); % make the x-axis to show 10^0, 10^1, 10^2, 10^3

somehow I got the right Y-axis, and X-axis, but the trace is not showing.

I don't know what part I did wrong.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.342144 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO