Question

[20] Suppose that x(t) = t, when 0 ≤ t ≤ 2 and x(t)=4 - t,...

[20] Suppose that x(t) = t, when 0 ≤ t ≤ 2 and x(t)=4 - t, when 2 < t ≤ 4. Plot the signals x(t), x(-t), x(t/2), x(2 + 4t), and x(-2 - 4t).

I NEED MATLAB CODE PLEASE NOT BZ HAND. code and plot in MATLAB

Homework Answers

Answer #1

(i) plot(t,x,'*')

title('x(t)')

(ii)t=t*(-1);

plot(t,x,'*')

title('x(-t)')

(iii)t=t*2;

plot(t,x,'*')

title('x(t/2)')

(iv) t=(t-2*ones(1,length(t)))/4

plot(t,x,'*')

title('x(2+4t)')

(v)t=(t+2*ones(1,length(t)))/(-4)

plot(t,x,'*')

title('x(-2-4t)')

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 Matlab to solve the problem below Given X=[-2 -1 0 1 2] Y=[1.5 3.2 4.5...
Using Matlab to solve the problem below Given X=[-2 -1 0 1 2] Y=[1.5 3.2 4.5 3.4 2] a). Plot a scatter plot of the data b). Determine the coefficients of the polynomial ?0 + ?1? + ?2?2 which best fits the data c). Plot this function on the same plot as in part ‘a’. USE MATLAB CODE ONLY! USE MATLAB CODE ONLY! THANK YOU
PLEASE ANSWER QUESTION #2 Design an FIR band-pass filter with cutoff frequencies of π/ 4 and...
PLEASE ANSWER QUESTION #2 Design an FIR band-pass filter with cutoff frequencies of π/ 4 and π/ 6 . The filter’s impulse response should have 81 samples (i.e. N = 81). Use a Blackman filter window. (a) Plot the filter’s impulse response (b) Plot the magnitude of the filter’s frequency response, in dB. (i.e. 20 log(|H(e jω)|)) (c) Print out the MATLAB code used in the filter design 2. Use the filter designed in #1 to filter a random input...
Fourier Series Approximation Matlab HW1:     You are given a finite function xt={-1 0≤t≤5; 1 5<t≤10...
Fourier Series Approximation Matlab HW1:     You are given a finite function xt={-1 0≤t≤5; 1 5<t≤10 .            Hand calculate the FS coefficients of x(t) by assuming half- range expansion, for each case below. Modify the code below to approximate x(t) by cosine series only (This is even-half range expansion). Modify the below code and plot the approximation showing its steps changing by included number of FS terms in the approximation. Modify the code below to approximate x(t) by sine...
Design the "high pass filter" for the signal, x(t) = 10 sin (10 t) + 1...
Design the "high pass filter" for the signal, x(t) = 10 sin (10 t) + 1 sin (1000 t) by MATLAB I have to submit MATLAB code which is written on A4 size paper. Please show me MATLAB code. * I can't recognize cursive script....
Solve the following initial/boundary value problem: ∂u(t,x)/∂t = ∂^2u(t,x)/∂x^2 for t>0, 0<x<π, u(t,0)=u(t,π)=0 for t>0, u(0,x)=sin^2x...
Solve the following initial/boundary value problem: ∂u(t,x)/∂t = ∂^2u(t,x)/∂x^2 for t>0, 0<x<π, u(t,0)=u(t,π)=0 for t>0, u(0,x)=sin^2x for 0≤x≤ π. if you like, you can use/cite the solution of Fourier sine series of sin^2(x) on [0,pi] = 1/4-(1/4)cos(2x) please show all steps and work clearly so I can follow your logic and learn to solve similar ones myself.
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 ≤...
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)
laplace transform x''(t) - x'(t) - 6 x(t)= e^(4t), x(0)=1, x'(0)=1
laplace transform x''(t) - x'(t) - 6 x(t)= e^(4t), x(0)=1, x'(0)=1
graph f(t)=t^6-4t^4-2t^3+3t^2+2t on the interval [-3/2,5,2] using matlab
graph f(t)=t^6-4t^4-2t^3+3t^2+2t on the interval [-3/2,5,2] using matlab
Solve the following differential equations: x"(t)- 4'x(t)+4x(t)=4cos(2t) ; x(0)= 2, x'(0)= 5
Solve the following differential equations: x"(t)- 4'x(t)+4x(t)=4cos(2t) ; x(0)= 2, x'(0)= 5
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT