Question

In: Electrical Engineering

In MATLAB; 3- Plot a 8V-2KHZ Sine signal in MATLAB. While this signal varies between C...

In MATLAB; 3- Plot a 8V-2KHZ Sine signal in MATLAB. While this signal varies between C = 10uF-100uF in 1uF steps for your application to the serialRLC circuit, calculate the L values ​​for R = 50 Ohm (constant) that can pass the maximum current through the circuit and write to the file. Plot the change graph of the L value calculated according to each C value.

Solutions

Expert Solution

MATLAB Script to plot the sine wave

clc;
clear;
close all;

Vm = 8;
f = 2000;
T = 1/f;
t = 0:T/1000:5*T;

Vin = Vm*sin(2*pi*f*t);

plot(t, Vin, 'linewidth', 2);
grid;
xlabel('Time, t (sec)');
ylabel('Amplitude');
title('The 8V 2 kHz Sine Signal');

After executing we get

Maximum current will flow when the rectance of the capacitor and inductor are the same

Reactance of the capcitor is given as

Reactance of the inductor is given as

​​​​​​​

The current will be maximum when

MATLAB Script to plot the inductor values

clc;
clear;
close all;

f = 2000;
w = 2*pi*f;
L = [];

for C = 10e-6:1e-6:100e-6
L = [L, 1/(w^2*C)];
end

C = 10e-6:1e-6:100e-6;

C_muF = C*1000000;
L_mH = L*1000;

plot(C_muF, L_mH, 'linewidth', 2);
grid
xlabel('Capacitance, C (\mu F)');
ylabel('Inductance, L (mH)');

After executing we get


Related Solutions

Plot the original data and the regression “line” ************USING Matlab************. "Submit plot" USING MATLAB! USING MATLAB!...
Plot the original data and the regression “line” ************USING Matlab************. "Submit plot" USING MATLAB! USING MATLAB! USING MATLAB! ONLY BY USING MATLAB!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 14.9 The concentration of E. coli bacteria in a swimming area is monitored after a storm: t (hr)                     4           8         12        16    20 24 c (CFU/100 mL) 1600     1320   1000     890 650 560 The time is measured in hours following the end of the storm and the unit CFU is a .colony forming unit.. Use this data to estimate (a)...
Matlab Code that does the following: Takes as input 3 frequencies. Create a signal that is...
Matlab Code that does the following: Takes as input 3 frequencies. Create a signal that is a mixture of the 3 signals. Create a bandpass filter that only selects the center frequency. Output the filtered signal which contains only the middle frequency. Plot in time and frequency domain the original signal and the filtered signal. Show the output for filter order 1 and 15. Upload a pdf of the image files. Each figure should have your name in the title...
The function Sine is defined as: where x is an angle in radians Write a Matlab...
The function Sine is defined as: where x is an angle in radians Write a Matlab script program to compute the sinus value of any angle as the following: - The program should run always until the user enters - 1 to exit from the program. - A sk user to enter: Number of elements (N) that should be included in the sum - C heck that N is a positive integer . [ Hint: use ( round (N) -...
Use the sine wave and scope in the Simulink library (MATLAB) to generate and observe the...
Use the sine wave and scope in the Simulink library (MATLAB) to generate and observe the following waves: a. ?1 (?) = sin ?? b. ?2 (?) = cos ?? c. ?2 (?) = 0.5 cos ?? d. ?3 (?) = cos (?? − ?) ? = 1 ???/s
Sampling 2 periods of each signal in (below) with 100 samples and plot the signal with...
Sampling 2 periods of each signal in (below) with 100 samples and plot the signal with respect to the same frequency reference signal cos(ω0t): a.xa(t)=50sin(100t+0.2) b.xb(t)=25cos(5000t−π/4) c.xc(t)=50sin(1000t+ π/4)−20cos(1000t−0.5) d.xd(t)=30sin(3000(t−5×10−5)) e.xe(t)=25cos(5000t−2.25π) f.xf(t)=−25cos(5000t+3π/4)
3. Use matlab to plot the output voltage of an inverting operational amplifier given the following...
3. Use matlab to plot the output voltage of an inverting operational amplifier given the following conditions: K = Gain of the amplifier = 12.5. Vi = input voltage -2.5 < Vi < 2.5 V], (use 0.25 increments). V+ = positive power supply voltage, V+ = +20 V. V- = negative power supply voltage V- = -20V. Vo = output voltage Vo = -KVi Recall that if the output voltage Vo is greater than V+, or less than V-, the...
1. Generate a sine wave with frequency 100 Hz. a. Sample the signal with a sampling...
1. Generate a sine wave with frequency 100 Hz. a. Sample the signal with a sampling frequency (i) 1000 Hz and (ii) 1050 Hz. b. For each frequency in Question 1(a), perform DFT for ONE (1) cycle and ONE and a HALF (1.5) cycles of the waveform. Comment on your observation.
If a periodic signal is decomposed into five sine waves with frequencies of 50, 300, 500,...
If a periodic signal is decomposed into five sine waves with frequencies of 50, 300, 500, 700, and 1800 GHz, what is the bandwidth? Draw the spectrum in periodic and non-periodic form, assuming components have a maximum amplitude of 5,10,1510 and 5V, express this as a function of frequency. Why can’t these spectrum be sketch as a function of time?
If a periodic signal is decomposed into five sine waves with frequencies of 50, 300, 500,...
If a periodic signal is decomposed into five sine waves with frequencies of 50, 300, 500, 700, and 1800 GHz, what is the bandwidth? Draw the spectrum in periodic and non-periodic form, assuming components have a maximum amplitude of 5,10,1510 and 5V, express this as a function of frequency. Why can’t these spectrum be sketch as a function of time?
(a) To get a feel for how ∆mixGm varies with χAB, plot it for the following...
(a) To get a feel for how ∆mixGm varies with χAB, plot it for the following values of χAB = 0, 1, 2, 3 (pick any temperature). (b) Verify that ∆mixGm obtained from the lattice model for a mixture of 2 components has a maximum or a minimum at xA = xB = 1/2 for any value of χAB. (c) Discuss how the second derivative of the free energy of mixing with respect to the mole fraction of one of...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT