Question

Task 1 Generate a time vector (series) “t which contains the number 0 to 9. i.e 0 st 10 with a step size of 1 Repeat the exp

57%, 13:23 Task 2.2 Let X(t) = A sin(217ft) where A= Amplitude Frequency E-Time a) Create the signals X (t) = A, sin(26ft) an


solve using scilab
show codes

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

a)Scilab program:
// signals
f1=20;
t=0:0.005:0.1;
A1=2;
X1=A1*sin(2*%pi*f1*t);
figure(1);
subplot(2,1,1);
plot(t,X1);
title( 'Signal 1 ');
xlabel( 't−−>');
ylabel( 'X1(t)−−>');


f2=40;
t=0:0.005:0.1;
A2=4;
X2=A2*sin(2*%pi*f1*t);
subplot(2,1,2);
plot(t,X2);
title( 'Signal 2');
xlabel( 't−−>');
ylabel( 'X2(t)−−>');

Signal 1 2 1 <--(0) IX -1 2 0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 tー-> Signal 2 4 2 X2(t)> -4 0 0.01 0.02 0.03 0

b)

To complete one cycle of x1(t), it takes 0.05s
Number of cycles per second=20
Time for one cycle*Number of cycles expected = 0.05* 20 =1s


To complete one cycle of x2(t), it takes 0.025s
Number of cycles per second=40
Time for one cycle*Number of cycles expected = 0.025* 40 =1s

Yes . The frequency of the signals match with the obtained waveforms.

Add a comment
Know the answer?
Add Answer to:
solve using scilab show codes Task 1 Generate a time vector (series) “t' which contains the...
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
ADVERTISEMENT