Question?(adsbygoogle = window.adsbygoogle || []).push({});

for a short-circuit transmission line of l=10cm. determine the the expression to calculate the magnitude of the input impedance. Use matlab to draw magnitude plot when the frequency is swept away fromf=1GHz to 3GHz. the line parameters are: L=209.4nH/m and C=119.5pF/m.

My matlab coding for this solution:

L=209.410e-9;

c=119.510e-12;

vp=1/sqrt(L*C);

Z0=sqrt(L/C);

l=0.1;

N=5000;

f=1e9+3e9*(0:N)/N;

Z=tan(2*pi*f*d/vp);

axis([1 3 0 500])

i am not sure whether i have set the frequency in the coding correctly, can anyone pls chk this for me thanks.....

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How to set frequency in matlab

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads - frequency matlab | Date |
---|---|

Matlab Filtering Frequencies | Apr 27, 2016 |

How to get specific frequency and time values for .wav file | Mar 3, 2015 |

Extracting frequency from DFT set in Mathematica | May 8, 2011 |

Matlab, how to find damped frequency of a first order sate space matrix euqation? | Apr 13, 2009 |

COMSOL _ frequency response of piezoelectric device | Apr 8, 2009 |

**Physics Forums - The Fusion of Science and Community**