In: Electrical Engineering
Use MATLAB to find the 8 point DFT of x(n) = cos(2πmn/8) (m=3) for 0 ≤ n ≤ 7.
Plot both x(n) and its DFT and explain your results. The "dct" and "fft" functions in MATLAB may be useful. Please post MATLAB code.
In: Electrical Engineering
Suppose we have a network in which 3 nodes share a common transmission media. The length of the frame sent by every node is fixed to 1. We also suppose that every node has the probability of 0.6 to generate a frame to be sent in any time period of length 1. Please answer the following questions.
a) When pure ALOHA is adopted, what is the probability that a
node successfully transmits a frame?
b) When slotted ALOHA is adopted, what is the probability that a
node successfully transmits a frame?
In: Electrical Engineering
I want to build a thin flexible rubber sheet, embedded with piezoelectric materials to convert mechanical energy into electrical energy.
Can anyone please tell me how i can proceed with this experiment?
or if there is any online supplier where i can buy from?
In: Electrical Engineering
Implement a 2 by 2 multiplier using structure VHDL. The circuit will have two 2-bit unsigned inputs (A and B), a 4-bit unsigned product outputs (P). Please use some full adders and gates (AND, OR, NOT, XOR).
In: Electrical Engineering
Generate a noisy image by adding salt and pepper noise to a clean image (try to add moderate to low level of noise).
Now, investigate the effects of the following on the noisy image:
The filter size (e.g. 3´3 and 7´7) for the median filter.
Repeated application of a 3´3 median filter for several times
%matlab code is needed
In: Electrical Engineering
in power system operation and control
there are three major subsystems are
1/Data acquisition
2/security monitoring
3/energy economy
explain in short answer these three
In: Electrical Engineering
Write a for loop from 1 to 3 using i as the variable. For each value of i:
Create a vector x of 10 random numbers between 0 and 1. Create a second vector t which is equal to ten integers from 1 to 10. Plot x versus t in figure 1. Use hold on to keep each plot. Use a different color for the line for each value of i.
At the very end, add the text 'time' using xlabel to the horizontal axis, and the text 'f(t)' using ylabel to the vertical axis.
This is what I have so far:
% Creating a 'for' loop from 1 to 3 using 'i' as the
variable
for i=1:3
% For each value of 'i', creating a vector 'x' of 10 random numbers
between 0 and 1
x=rand(1,10);
% For each value of 'i', creating a second vector 't' which is
equal to 10 integers from 1 to 10
t=randi([1,10],10);
end
% Plotting 'x' versus 't' in figure 1
figure(1),plot(x,t)
% Using 'hold on' to keep each plot
hold on
% Using a different color for the line for each value of
'i'
%add code
% Adding the text 'time' using 'xlabel' to the horizontal
axis
xlabel('time')
% Adding the text 'f(t)' using 'ylabel' to the vertical
axis
ylabel('f(t)')
In: Electrical Engineering
In: Electrical Engineering
What are the advantages of Wheatstone bridge measurement over a direct resistance measurement if for a temperature sensor?
In: Electrical Engineering
Exercise 2.1: Basic digital signals (a) Write a MATLAB program to generate and display (using the stem function) the signals defined in Table 1. The MATLAB code of the first signal (dirac) is given in the report template as an example. (b) Write a MATLAB function [x, t] = sin_NU(f0, fs, T) to generate a sine signal. The output parameters x and t are the signal and time vectors, respectively. The input parameters are f0 (signal frequency in Hz), fs (sampling frequency in Hz), T (signal duration in sec.). (c) Test your sin_NU function with the input parameter values .... and display the result using the plot function. List of basic digital signals to generate: - Dirac (Unit Response) - Unit step (Heaviside step) - Sign - Rectangle - Sine - Sine cardinal Exercise 2.2: Audio aliasing To illustrate the aliasing phenomenon, let’s perform two simple experiments allowing us to “hear” it. Using the sin_NU function of Exercise 1: (a) Generate two 1 kHz sine signals (2 seconds duration), first signal at 20 kHz sample frequency and second signal at 1.5 kHz sample frequency; (b) On the same graph, use the plot function to display the two signals versus t in the range 0 < t < 5 msec.; (c) Listen to the two signals one after another using the function soundsc(x, fs); and (d) Give your interpretation of this listening. Exercise 2.3: Quantization Quantization is done by replacing each value of an analog signal x(t) by the value of the nearest quantization level. To exemplify this operation, let’s simulate an unipolar ADC (Analog to Digital Converter) having the technical specifications: R = 10 Volts (full-scale range) and B = 3 (number of bits). (a) Write a MATLAB function y = adc_NU(x, R, B) where x and y are vectors containing the input signal and the quantized signal, respectively; (b) Test your function with an input ramp signal ranging from -5 to 15 Volts (1 volt per step); and (c) On the same graph, use the plot and stem functions to display the input signal and quantized signal, respectively.
In: Electrical Engineering
In: Electrical Engineering
What is the most effective way to reach both the users and IT department staff about how important security policies are?
In: Electrical Engineering
A robotic arm is controlled by several stepper motors.
Stepper motor (or step motor) is a brushless DC electric motor that divides a full rotation (360 degree) into a number of equal steps (10 degree/step in this case). The motor's position can then be commanded to move and hold at one of these steps without any feedback sensor (an open-loop controller). This motor usually has 4 wires. To move a motor, the following bit patterns should be applied to these 4 wires.
Clockwise rotation: 1100à0110à0011à1001 and these 4 patterns repeated again such as à1100à0110....
Counter clockwise rotation: 1100à1001à0011à0110à and these 4 patterns repeated again such as 1100à1001….
Each input pattern (for example 1100) moves motor 10 degree. Assume the first four bits (least Significant bits) of register R2 are connected to one these motors.
Write a program in LC-3 assembly language, to do the following:
If you type “1” motor moves 120 degree clockwise (sending 12 patterns) and then 90 degree counter clockwise (sending 9 patterns). If you type “2” motor moves 50 degree counter clockwise (sending 5 patterns).
Depends on what number you enter; the console should display all the related patterns sending to the motor.
In: Electrical Engineering
What are the options for routing electrical services along CLT wall panels?
In: Electrical Engineering