Question

If the input signal x(n) =[1,2,3,82,82,82,82,82,4, 5,6] plot x(2n+3) in Matlab. What is the code of...

If the input signal x(n) =[1,2,3,82,82,82,82,82,4, 5,6] plot x(2n+3) in Matlab.
What is the code of the above signal?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Matlab code

clc
clear all
n=0:1:10;
x=[1,2,3,82,82,82,82,82,4, 5,6];
figure(1)
subplot(2,1,1),stem(n,x);
title(' Discrete time signal');
xlabel('Time(s)');
ylabel('Sampled signal(volts)');


%shifted and scaled signal
n1=2*n+3;
subplot(2,1,2),stem(n1,x);
title(' Shifted and scaled Discrete time signal');
xlabel('Time(s)');
ylabel('Sampled signal(volts)');

Add a comment
Know the answer?
Add Answer to:
If the input signal x(n) =[1,2,3,82,82,82,82,82,4, 5,6] plot x(2n+3) in Matlab. What is the code of...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT