1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Paraphin [41]
3 years ago
8

This problem demonstrates aliasing. Generate a 512-point waveform consisting of 2 sinusoids at 200 and 400-Hz. Assume a sampling

frequency of 1 kHz. Generate another waveform containing frequencies at 200 and 900-Hz. Take the Fourier transform of both waveforms and plot the magnitude of the spectrum up to fs/2. Plot the 2 spectra superimposed, but in different colors to highlight the additional peak due to aliasing at 100-Hz.
Engineering
1 answer:
aalyn [17]3 years ago
8 0

Answer and Explanation:

clear all; close all;  

N=512;  

t=(1:N)/N;

fs=1000;  

f=(1:N)*fs/N;

x= sin(2*pi*200*t) + sin(2*pi*400*t);  

y= sin(2*pi*200*t) + sin(2*pi*900*t);

for n = 1:20  

a(n) = (2/N)*sum(x.*(cos(2*pi*n*t)))

b(n) = (2/N)*sum(x.*(sin(2*pi*n*t)))  

c(n) = sqrt(a(n).^2+b(n).^2)  

theta(n) =-(360/(2*pi))*atan(b(n)./a(n));  

end  

plot(f(1:20),c(1:20),'rd');

disp([a(1:4),b(1:4),c(1:4),theta(1:4)])

You might be interested in
A heat pump cycle is used to maintain the interior of a building at 15°C. At steady state, the heat pump receives energy by heat
Hoochie [10]

Answer:

a) Ql=33120000 kJ

b) COP = 5.6

c) COPreversible= 29.3

Explanation:

a) of the attached figure we have:

HP is heat pump, W is the work supplied, Th is the higher temperature, Tl is the low temperature, Ql is heat supplied and Qh is the heat rejected. The worj is:

W=Qh-Ql

Ql=Qh-W

where W=2000 kWh

Qh=120000 kJ/h

Q_{l}=14days(\frac{24 h}{1 day})(\frac{120000 kJ}{1 h})-2000 kWh(\frac{3600 s}{1 h})=33120000 kJ

b) The coefficient of performance is:

COP=\frac{Q_{h} }{W}=\frac{120000 kJ/h*14(\frac{24 h}{1 day}) }{2000 kWh(\frac{3600 s}{1 h}) } = 5.6

c) The coefficient of performance of a reversible heat pump is:

COP_{reversible}=\frac{T_{h} }{T_{h}-T_{l}  }

Th=20+273=293 K

Tl=10+273=283K

Replacing:

COP_{reversible}=\frac{293}{293-283}=29.3

4 0
3 years ago
A gearbox is needed to provide an exact 30:1 increase in speed, while minimizing the
alekssr [168]

Answer:

answer

Explanation:

4 0
2 years ago
For welding the most important reason to use jigs and fixtures in a welding shop is to
diamong [38]

Answer:

Reduce manufacturing costs.

Explanation:

Hope This Helps

Have A Great Day

7 0
2 years ago
What is one thing a person should do to stay safe when exercising
elixir [45]
Staying hydrated at all times
7 0
3 years ago
Read 2 more answers
Write the implementation (.cpp file) of the Player class from the previous exercise. Again, the class contains:
hoa [83]

Answer:

//Define the header file

#ifndef PLAYER_H

#define PLAYER_H

//header file.

#include <string>

//Use the standard namespace.

using namespace std;

//Define the class Player.

class Player

{

//Declare the required data members.

string name;

int score;

public:

//Declare the required

//member functions.

void setName(string par_name);

void setScore(int par_score);

string getName();

int getScore();    

}

//End the definition

//of the header file.

#endif

Player.cpp:

//Include the "Player.h" header file,

#include "Player.h"

//Define the setName() function.

void Player::setName(string par_name)

{

name = par_name;

}

//Define the setScore() function.

void Player::setScore(int par_score)

{

score = par_score;

}

//Define the getName() function.

string Player::getName()

{

return name;

}

//Define the getScore() function.

int Player::getScore()

{

return score;

}

7 0
3 years ago
Other questions:
  • a) Give a brief description of the type of DC motor that operates with its field windings running in Series with the armature an
    10·1 answer
  • The working section of a transonic wind tunnel has a cross-sectional area 0.5 m2. Upstream, where the cross-section area is 2 m2
    10·1 answer
  • WHAT IS THE EFFECT OF ICE ACCRETION ON THE LONGITUDINAL STABILITY OF AN AIRCRAFT?
    8·1 answer
  • Why is it important to always be wearing a personal flotation device (PFD) when in or around the water?
    9·2 answers
  • Three consequences of unbalanced wheels on a motor vehicle​
    11·1 answer
  • Please help! timed test. This about electrical control. Please be serious.
    15·1 answer
  • Describe how to use cleaning tools and equipment safely and properly
    6·1 answer
  • Drag each label to the correct location on the chart. Classify the organisms based on how they obtain food.
    14·2 answers
  • One reason the shuttle turns on its back after liftoff is to give the pilot a view of the horizon. Why might this be useful?
    6·2 answers
  • 9. A piece of Cherry wood is 5/4 x 4" X 4'<br> What is the length in inches?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!