Question

I need this question answered by sketching the graph by hand then plotted using matlab. It...

I need this question answered by sketching the graph by hand then plotted using matlab. It is for a signals and systems course

Sketch the continuous-time signals.

x(t) = cos(t) *[(u(t+(pi/2)) - 2u(t - pi)] + (cos(t)) * u(t - (3*pi/2)

Homework Answers

Answer #1


Matlab code:

t=-pi:0.001:2*pi;
x=(cos(t).*(t>=-pi/2))-(2.*cos(t).*(t>=pi))+(cos(t).*(t>=3*pi/2));
plot(t,x)

The output is,

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Using for loop and if statement, write a MATLAB code to plot a graph for x(t)...
Using for loop and if statement, write a MATLAB code to plot a graph for x(t) as a function of time t in the range 0 to 12 in increment of 0.01 ?(?) = 1: 0 ≤ ? ≤ 1 2? − 1 1 ≤ ? ≤ 2 3 2 ≤ ? ≤ 3 −2.5? + 10.5 3 ≤ ? ≤ 5 −2 5 ≤ ? ≤ 6 4/3 ? − 10 6 ≤ ? ≤ 9 2 9 ≤...
Question B:Consider the integral of sin(x) * cos(x) dx. i) Do it using integration by parts;...
Question B:Consider the integral of sin(x) * cos(x) dx. i) Do it using integration by parts; you might need the “break out of the loop” trick. I would do u=sin(x), dv=cos(x)dx ii) Do it using u-substitution. I would do u=cos(x) iii) Do it using the identity sin(x)*cos(x)=0.5*sin(2x) iv) Explain how your results in parts i,ii,iii relate to each other.
Hi guys I need this question answered ASAP and thanks. :) QUESTION 3 A 1 mF,...
Hi guys I need this question answered ASAP and thanks. :) QUESTION 3 A 1 mF, a 2 mF, and a 3 mF capacitor are connected in series, the combination being connected across a 9 volt battery. The capacitor with the greatest voltage across it is 1.) the 1 mF 2.) the 2 mF 3.) the 3 mF 4.) neither since they all have the same voltage
I only want this specific question answered, not the previous two. I've already posted this question...
I only want this specific question answered, not the previous two. I've already posted this question once and the expert who answered the question answered the 2 which I did not ask!! PLEASE answer this Question number 3 specifically. Thank you very much. 3. Olympic athletes have to undergo anti-doping tests to verify that they did not use performance enhancing drugs during the competition. According to page 43 of the World Anti Doping Agency (WADA) 2017 Anti-doping Testing figures 0.9%...
I need to make a model in MATLAB for free-fall using Euler method. g=9.81 (gravitational acceleration)...
I need to make a model in MATLAB for free-fall using Euler method. g=9.81 (gravitational acceleration) c=12.5 (drag coefficient) m= 68.1 (mass) h=0.1 (step size) v(0)=0 (Velocity is 0 at time zero) t=[0:100]*h (100 steps) Vnew= vt+(g-(c/m)*v)*h (this is the equation for the velocity at each subsequent step I want to use a "for" loop in MATLAB but i don't know how to write it properly. Could anyone help me?
Sketch the graph by hand using asymptotes and intercepts, but not derivatives. Then use your sketch...
Sketch the graph by hand using asymptotes and intercepts, but not derivatives. Then use your sketch as a guide to producing graphs (with a graphing device) that display the major features of the curve. Use these graphs to estimate the maximum and minimum values. (Round your answers to three decimal places.) f(x) = (2x + 3)2(x − 2)5 x3(x − 5)2 local minima (x, f(x)) = -1.5 Correct: Your answer is correct. , 0 Correct: Your answer is correct. (smaller...
Question: I need this answered using the application SPSS. A researcher wants to find out whether...
Question: I need this answered using the application SPSS. A researcher wants to find out whether balance training would have a significant effect on the amount injuries in professional gymnasts. Gymnasts were measured for four consecutive months while receiving balance training. The number of injuries sustained by seven gymnasts are contained in the dataset. 1. Perform a statistical test to determine if there is a significant decrease in injuries due to balance training intervention, including post hoc analysis if appropriate....
I am using matlab and getting a "matrix dimensions error below" for line 22. Can someone...
I am using matlab and getting a "matrix dimensions error below" for line 22. Can someone spot the error and try the code to fix the error. %The beginning step is to generate a functionf(t) that consists of the sum %of the following components % 25 Hz cosine function of magnitude 1 % 50 Hz sine function of magnitude 1 % 40 Hz square wave function of magnitude 1 clear; clc; close all; %sample rate is given at 2500 Hz...
*********I need question 6 answered which is from question 5 which is ********* Question 5 :...
*********I need question 6 answered which is from question 5 which is ********* Question 5 : Program Correctness I (1 point) Use the loop invariant (I) to show that the code below correctly computes n P−1 k=0 2k (this sum represents the sum of the first n even integers where n ≥ 1). Algorithm 1 evenSum(int n) 1: p = 2(n − 1) 2: i = n − 1 3: while i > 0 do 4: //(I) p = nP−1...
How do I graph f(x, y)=sqrt((x^2)+(y^2)) by hand? This is a homework question from the first...
How do I graph f(x, y)=sqrt((x^2)+(y^2)) by hand? This is a homework question from the first section of a new chapter that introduces functions of several variables. Previous questions asked to find the domain and range of similar functions.