Question

In: Electrical Engineering

Matlab code for resonant frequency of coaxial cable

Matlab code for resonant frequency of coaxial cable

 

Solutions

Expert Solution

MATLAB code:

function Frequencia_Table = Frequencia(v,lx,ly,lz)

% Building the array of values

nx = [zeros(5,1); repelem([1:4]',6,1)];

ny = [0; repmat(repelem([1 2 0]',2,1),4,1); 1; 1; 2; 2];

nz = [repmat([1;0],14,1); 1];

Freq = [nx, ny, nz, nan(size(nx,1),1)];

% Function handle

f = @(lx,ly,lz) v/2.*sqrt((nx./lx).^2 + (ny./ly).^2 + (nz./lz).^2);

% Calculate Frequencies (lx = 2, ly = 3, lz = 4) --> Enter the lengths here

Freq(:,4) = f(lx,ly,lz);

% Create a table of the results

Frequencia_Table = table(Freq(:,1),Freq(:,2),Freq(:,3),Freq(:,4),'VariableNames',{'Nx','Ny','Nz','Frequencia'});

end

Save this code as .m file and then call function as below:

% Call the function with v=0.2, lx=2, ly=3, lz=4 and save the result in the variable res

res = Frequencia(0.2,2,3,4)

Result:

res =

29×4 table

Nx Ny Nz Frequencia

__ __ __ __________

0 0 1 0.025

0 1 0 0.033333

0 1 1 0.041667

0 2 0 0.066667

0 2 1 0.0712

1 0 0 0.05

1 0 1 0.055902

1 1 0 0.060093

1 1 1 0.065085

1 2 0 0.083333

1 2 1 0.087003

2 0 0 0.1

2 0 1 0.10308

2 1 0 0.10541

2 1 1 0.10833

2 2 0 0.12019

2 2 1 0.12276

3 0 0 0.15

3 0 1 0.15207

3 1 0 0.15366

3 1 1 0.15568

3 2 0 0.16415

3 2 1 0.16604

4 0 0 0.2

4 0 1 0.20156

4 1 0 0.20276

4 1 1 0.20429

4 2 0 0.21082

4 2 1 0.2123


Related Solutions

A coaxial cable consists of alternating coaxial cylinders of conducting and insulating material. Coaxial cabling is...
A coaxial cable consists of alternating coaxial cylinders of conducting and insulating material. Coaxial cabling is the primary type of cabling used by the cable television industry and is also widely used for computer networks such as Ethernet, on account of its superior ability to transmit large volumes of electrical signal with minimum distortion. Like all other kinds of cables, however, coaxial cables also have some inductance that has undesirable effects, such as producing some distortion and heating.Consider a long...
The resonant frequency of an RLC series circuit is less than the frequency of the fem....
The resonant frequency of an RLC series circuit is less than the frequency of the fem. Does the current overtake this backward to the fem? Explain
A coaxial cable, commonly used in telecommunications, is a cylindrical capacitor. A given cable section has...
A coaxial cable, commonly used in telecommunications, is a cylindrical capacitor. A given cable section has a capacitance per unit length c0 [uF / m], length L0 [m] and relative electrical permittivity k0 []. It is decided to modify the cable in such a way that the external radius doubles, all other dimensions and materials remain the same. Calculate the new value of the capacitance per unit length. Calculate the answer algebraically and evaluate for the following values. Write your...
Coaxial cable. The inner cable has a radius R1 and carries D, a current per cross...
Coaxial cable. The inner cable has a radius R1 and carries D, a current per cross sectional area. The outer cable is a sheath cable, very thin, and carries an equal total current but in the opposite direction at a radius R2. There is a spacer between the two cables and a rubber coating on the outside for safety purposes. (Give answers in terms of R1, R2, D, and universal constants, plus r only when specified) a) Determine the total...
) A coaxial cable consists of a cylinder of radius ? surrounding by a thin cylindrical...
) A coaxial cable consists of a cylinder of radius ? surrounding by a thin cylindrical shell of radius 2?. Suppose the cable is along the ?-axis. The current density in inner cylinder is ? ⃗= (?0 + ??)?̂, where ?0 > 0 and ? > 0 are constant. The current in the outer shell, ?? ,is downward (−? direction). a) Find the magnetic field in regions 0 < ? < ?,? < ? < 2? and 2? < ?....
(microwave) how do "waveguide/coaxial cable Adaptors"  work?
(microwave) how do "waveguide/coaxial cable Adaptors"  work?
a signal is carried by a coaxial cable. The signal is carried by an inner wire...
a signal is carried by a coaxial cable. The signal is carried by an inner wire with radius R1 while an outer conductor of radius R2 is grounded. An insulating materiel is between the two. A. Find an expression for the capacitance per meter of the coaxial cable, assuming air is between the two cylinders. B. Find the Capacitance per meter of a cable with R1= 0.70mm and R2=2.1mm. (answer units are pF/m)
A series RCL circuit has a resonant frequency of 1470 Hz. When operating at a frequency...
A series RCL circuit has a resonant frequency of 1470 Hz. When operating at a frequency other than 1470 Hz, the circuit has a capacitive reactance of 5.0 Ω and an inductive reactance of 26.0 Ω. (a) What is the value of L? (b) What is the value of C?
A series RCL circuit has a resonant frequency of 1470 Hz. When operating at a frequency...
A series RCL circuit has a resonant frequency of 1470 Hz. When operating at a frequency other than 1470 Hz, the circuit has a capacitive reactance of 5.0 ? and an inductive reactance of 25.0 ?. (a) What is the value of L? (b) What is the value of C? Me and a friend have been trying to figure this out for a while. I know I have the XL = 2*pi*f*L formula. Any help would be appreciated (particularly if...
The coaxial cable shown in Figure on the right consists of a solid inner conductor of...
The coaxial cable shown in Figure on the right consists of a solid inner conductor of radius a and a hollow outer conductor of inner radius b and thickness c. The two-carry equal but opposite currents I, uniformly distributed. Find expressions for the magnetic field as a function of radial position r a) within the inner conductor (10 pts) b) between inner and outer conductors (5 pts) c) beyond the outer conductor (5 pts)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT