Write the matlab command to sample the following signals at nyquist frequency
1.x(t)=3cos(2*pi(400)t +0.3*pi)
2.x(t)=cos^2(300*pi*t)
In: Electrical Engineering
Design; produce an outline of a design for energy storage system based on existing the technology that will deliver 0.5 MVA on a short-term basis (you can choose the short term period based on an evaluation of the constraints that would be in place) to a 50 Hz grid system.
please note;
do not copy load leveling from the online website please, build your own design, build a block diagram of the intended design, the cost, the output power, and all other kinds of stuff. don't just talk about load leveling please. do the design, bring up the concept used and all.
In: Electrical Engineering
give the reason on why conduction electrons can experience a resistance in crystalline metals during the drift under an external electric field. (ii) derive the charge mobility u in terms of mean free time t and electron mass m.
In: Electrical Engineering
What I am trying to do is to design a Butterworth Bandpass
filter using Matlab, High frequency must equal to 16 Hz and lower
frequency must be 10Hz (passBand). and the input signal must be a
white noise signal.
here is my code :
mu=0;
sigma=2;
X= sigma*randn(500,1)+mu; %Generating White Noise signal
Fs=500;%Sampling Frequency
Fh= 16;
Fl=10;
order=6;
[b,a]=butter(order,[Fh Fl]/(Fs/2),'bandpass');%Butterworth BandPass filter
XX=filtfilt(b,a,X);%filter the signal both forward and backword in time
Actually, I am not sure about Fs value that I have chosen and I do not know the criteria of choosing it for such a filter.Moreover, I am getting Weird plot when trying to plot XX "it may be correct though".
In: Electrical Engineering
The forward current across the depletion layer of a PN junction
diode consists of electrons
from Ν to Ρ and holes injected from Ρ to N. The ratio of the hole
current crossing
the junction to the total current is known as the injection
efficiency. Determine an
expression for the injection efficiency as a function of:
a) Na/Nd.
b) The ratio of the conductivity of Ρ to that of N.
Assume τp = Ο.1τn , and μp = 2.5
μn .
In: Electrical Engineering
Research on the Web the types of PSK modulation and answer the following questions:
a) What is differential phase shift keying (DPSK) modulation?
b) What are its advantages and disadvantages over the non-differential PSK modulation?
c) Why is DPSK used in power line communications instead of plain PSK?
In: Electrical Engineering
In: Electrical Engineering
make 4 bit universal shift register in vhdl plz include the test bench. I will rate
In: Electrical Engineering
In your own words, and based in your understanding on the topic, write a small paragraph about the purpose and importance of using half-adder and full-adder logic circuits, their differences, some potential applications, and why they are useful in digital system
In: Electrical Engineering
what is different between the Boe tie antenna and Rounded bowtie antenna?
In: Electrical Engineering
Propagation Delay
A satellite phone connects to orbiting satellites instead of terrestrial cell sites. When you speak into a satellite phone , the signal has to travel from you to the satellite, from the satellite to the other person, and all the way back from the other person to the satellite and then satellite to you. What is the round trip propagation delay when you use a satellite phone for communication? You may assume that the satellite orbits at a height of 21,000 miles from the surface of the earth. This is the size of the orbit used by geosynchronous satellites whose orbital period is 24 hours, this means that the satellite is always over the same point on the planet. Because of this delay many satellite phone systems use groups of satellites with lower orbits and hand off the calls between them. Satellite TV systems do use geosynchronous satellites so that you can just point your dish at one point in the sky. Delay is less of a problem for one way communications such as video or other broadcasts. Careful: you need to convert to a consistent set of units to use in your calculation.
In: Electrical Engineering
<<Importing Data>>
Make sure you have downloaded all the data files off Blackboard. There should be folders containing images and audio files as well as a selection of CSV and Excel spreadsheets.
The following exercises will allow you to practice using MATLAB’s import/export functions.
Task 4 – Importing Excel Spreadsheets
Exercise:
Import the spreadsheet ‘buildings.xls’ which contains all the buildings in the world over 300 metres tall. Plot the number of floors vs. building height using a scatter plot.
Reflection:
- Look at how Excel data is imported into MATLAB. How is the text stored? How are the numbers stored?
- Repeat task 1 for these buildings and plot a graph showing the different velocities at impact the coin would have if dropped from these buildings instead.
Task 5 – Importing Comma Separated Values (CSV) files
Exercise:
In your MATLAB script file import the comma separated values in ‘scope1.csv’. This data has time data in column 1 and voltage data in column 2.
- Split the data into separate time and voltage arrays and plot voltage with respect to time.
Reflection:
- Contrast the CSV and Excel spreadsheet import processes and describe how the two differ.
Task 6 – Importing Audio files
Exercise:
In your script file, import the .wav file called ‘gameover.wav’: - Use the soundsc() function to listen to this audio.
Reflection:
- Try soundsc(x,30000) what happens to the playback of the audio?
- Try soundsc(x, 60000) what happens this time? Think about why this might be happening and the importance of correctly formatting data you are exporting from MATLAB.
- Try some of the other sound files in the audio folder.
- Refer to your tutorial notes from week 3 for more details.
Task 7 – Importing Images
Exercise:
Use the MATLAB script file to import the image ‘barbara.png’:
- Display this greyscale image using imshow().
- Now import and display the image ‘lena.tiff’, this image is a coloured image.
Reflection:
- Contrast the black-and-white image to the coloured image. Compare how they are stored as MATLAB matrices.
- Refer to your tutorial notes from week 3 for more details.
In: Electrical Engineering
Consider the finite duration signal x(n) = (0.9)ncos(0.1πn) for 0 ≤ n ≤ 31. Using MATLAB:
a.) Plot the signal
b.) Plot the real part of the DFT of x(n), the imaginary part of the DFT of x(n) and the DCT of x(n). All transforms are length N = 32.
In: Electrical Engineering
draw state machine and write verilog code of an ALU unit that shifts left when the control signal 'OP' is 00, shifts right when control is ''01'' and increments when control is ''10''. Fpr control ''11'' , it does nothing. inputs are Date [3:0] and clk, and the output is Out [3:0]
In: Electrical Engineering
A four-bit binary number is represented as A3A2A1A0, where A3, A2, A1, and A0 represent the individual bits and A0 is equal to the LSB. Design a logic circuit that will produce a HIGH output whenever the binary number is greater than 0010 and less than 1000.
how can I do this by using sum of product, not K map
In: Electrical Engineering