Continue to Site

# matlab and microstrip

Status
Not open for further replies.

#### mehdi22

##### Junior Member level 2
hello
i am nex member in this forum
I am a little weak in programming with matlab , i need design structure microstrip with matlab , it request interpret structure in matrix form , and i dont know how do this !!!
can you give me an exemple ??

Hi
Do you need scattering parameter matrix of microstrip discontinuities , or do want to calculate length and width of microstrip line, for given frequency and impedance. kindly brief so that, it would be easy to help.

thank u vinoth8051
i need scattering parameter matrix of microstrip discontinuities...

its not brief ?or not simple?
thank u

Hi
since you are fresh in matlab programming, suggestion would be
start writing a code which would get the input from user such as frequency, impedance, dielectric constant, height of substrate and then calculate dimensions of microstrip line.
After doing that try reverse i.e, get dimensions and calculate frequency and impedance.
After getting the grip you may increase the complexity.
As far as i know, there is no functions or tools are there in matlab to play much with microstrip discontinuities. Any how you may wish to refer these links to start with
My kind suggestion would be you could better learn behaviour of microstrip discontinuites in electromagnetic simulation softwares like Ansoft HFSS orAgilent ADS.

rntsay

### rntsay

Points: 2
thank u vinoth8051
i need scattering parameter matrix of microstrip discontinuities...

If you have the rf circuit toolbox you can do something along these lines :
Width1=5e-4;
Width2=3e-4;
Ms1 = rfckt.microstrip('LineLength',1e-2,'Width',Width1,'Height',6e-4,'Thickness',7e-9,'EpsilonR',8.9);
Ms2 = rfckt.microstrip('LineLength',1e-2,'Width',Width2,'Height',6e-4,'Thickness',7e-9,'EpsilonR',8.9);
analyze(Ms, 0.5e9:1e7:5e9);
plot(Ms, 'S11', 'dB');
Sparam=Ms.rfdata.S_parameters;

Sparam has your s-parameters in matrix form

meysam.namdar

### meysam.namdar

Points: 2

Why Matlab? Why not use a "real" EM simulator that is much easier to use?

because i want master matlab...help me please

Status
Not open for further replies.