Matlab Script:
function fc = cutoffFreq(c,a,b,m,n)
fc = (c/2)*sqrt(((m/a)^2)+((n/b)^2));
end
>> fc = cutoffFreq(3e8,0.01,0.005,2,1) fc = 4.2426e+10 >> fc = cutoffFreq(3e8,0.04,0.03,2,2) fc = 1.2500e+10
5. Cut-off frequency of an arbitrary TE or TM mode [Marks 1] Write a function cutoffFreq) in MATLAB that calculates the cut-off frequency of an arbitrary TE or TM mode in a rectangular waveguide,...
A rectangular waveguide is oriented with its transverse dimensions of width a and height b in the z 0 plane, with guided modes propagating along 2. Write a MATLAB program that takes parameters a, b, frequency f (all values to be accepted in SI units), refractive index of the waveguide medium nr, mode indices m and n, and a way to choose whether to plot the TEmm or the TMmn mode fields. With the provided input parameters and the chosen...
TE Question 5 (20 marks) An active filter circuit is shown in Fig. 4. The cut-off frequency of this active filter is 1590Hz. The Input impedance and voltage gain of this filter are 10k0 and -5VN respectively Vout R1 vin R2 C1 Fig. 4 By assuming the operational amplifier, A is ideal, answer the following questions: (a) () State the type of this active fiter. (i) Explain the characteristic of this active filter. [2 marks] 3 marks] (b) 0) Calculate...
Ruby Programming Language question, sorry its a little cut off: 1. Write a Ruby function mean that computes the mean value of an arbitrary number of arguments. The program mean (1,2,3,4,5)mean (1) mean should generate the following results: Mean [l, 2, 3, 4, 51 3 Mean [1] 1 No arguments 2. Show all numeric data types available in Ruby. Then show how to define integer constants in vari number systems. def mean (a) cin t 1. Write a Ruby function...