Exercise 1: Sinusoidal signals Plot the following sinusoidal functions and label them. (a) foi = 70 Hz between -2T to +2T (T-1/f). K1=(S1+S2)/1e9 0 O (b) fo2 = (270+K2) Hz between -4ms to 4ms . K2=(S1+S2)/1e6. 02 Step size Dt-le-5. S1 and S2 are student IDs (Use your own IDs). For both plots use different colors and linewidths. Label the plots Solution: K2=7.2222; fo2=277.22 (write S1=4111111;S2=3111111;K1=0.0072, your own parameters) Part (a) Frequency and time period. fo=70; To=1/fo; S1=4111111; S2 3111111; K1= (S1+S2)/1e9; %%%Cosine function %%Step size and timing%%% T1=-2*To; T2=2*To; Dt To/50; To=1/fo; to=-K1; %% delay %%Time array T=T1: Dt: T2; Definition of x (t) %% X=2*cos (2*pi*fo.* (T-to)); plot (T, X, 'k', 'linewidth', 2); xlabel ('Time (seconds) ') ylabel ('x (t)') title('fo=70 Hz, K1= .00722') Part (b) Important commands. %%%Cosine function %%Step size and timing % % % T1=-4e-3; T2=4e-3; Dt-le-5; To2=1/fo2; %%Time array T=T1: Dt: T2; Definition of x (t) %% Y=2*cos (2*pi*fo2. *T-pi/4); 2 1.5 1 0.5 受。 -0.5 -1 -1.5 -2 -4 2 1.5 1 0.5 0 -0.5 -1 -1.5 -2 -0.03 -3 -0.02 -2 fo=70 Hz, K1=.008 M -0.01 -1 0 Time (seconds) fo=278.0424 Hz 0 Time (seconds) 1 0.01 2 0.02 3 4 ×10-3 0.03

Introductory Circuit Analysis (13th Edition)
13th Edition
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:Robert L. Boylestad
Chapter1: Introduction
Section: Chapter Questions
Problem 1P: Visit your local library (at school or home) and describe the extent to which it provides literature...
icon
Related questions
Question

Please help me 1.

this exercise need to be done by matlab

plot (T/le-3, X, 'k', linewidth 2);
xlabel ('Time (milli seconds)')
ylabel ('x (t)')
Exercise 1: Sinusoidal signals
Plot the following sinusoidal functions and label them.
(a) f₁ = 70 Hz between -2T to +2T (T=1/f). K1=(S1+S2)/1e9
01
0
0
(b) fo₂ = (270+K2) Hz between -4ms to 4ms . K2=(S1+S2)/1e6.
Step size Dt-le-5.
S1 and S2 are student IDs (Use your own IDs). For both plots use
different colors and linewidths. Label the plots
Solution:
K2=7.2222; f₂=277.22 (write
S1=4111111;S2=3111111;K1=0.0072,
your own parameters)
Part (a)
Frequency and time period.
fo=70;
To=1/fo;
S1-4111111;
S2 3111111;
K1= (S1+S2)/1e9;
%%%Cosine function
Step size and timing%%%
T1=-2*To;
T2=2*To;
Dt=To/50;
To=1/fo;
to=-K1; %% delay
Time array
T=T1: Dt: T2;
Definition of x (t) %%
X=2*cos (2*pi*fo.* (T-to));
plot (T, X, 'k', 'linewidth', 2);
xlabel ('Time (seconds) ')
ylabel ('x (t) ')
title('fo=70 Hz, K1= .00722')
Important commands
Cosine function
T1=-4e-3;
T2=4e-3;
Part (b)
Dt=1e-5;
To2=1/fo2;
%%Time array
T=T1: Dt: T2;
fo=70 Hz, K1=.008
WW
-2
2
-4
1.5
1
受。
0.5
Step size and timing%%%
2
1.5
1
IW
0.5
受。
-0.5
Definition of x (t) %%
Y=2*cos (2*pi*fo2. *T-pi/4);
-1
-1.5
-0.5
-1
-1.5
-2
-0.03
-0.02
-3
-0.01
-2
0
Time (seconds)
fo=278.0424 Hz
-1
0
Time (seconds)
1
0.01
0.02
2
3
4
x 10-3
0.03
Transcribed Image Text:plot (T/le-3, X, 'k', linewidth 2); xlabel ('Time (milli seconds)') ylabel ('x (t)') Exercise 1: Sinusoidal signals Plot the following sinusoidal functions and label them. (a) f₁ = 70 Hz between -2T to +2T (T=1/f). K1=(S1+S2)/1e9 01 0 0 (b) fo₂ = (270+K2) Hz between -4ms to 4ms . K2=(S1+S2)/1e6. Step size Dt-le-5. S1 and S2 are student IDs (Use your own IDs). For both plots use different colors and linewidths. Label the plots Solution: K2=7.2222; f₂=277.22 (write S1=4111111;S2=3111111;K1=0.0072, your own parameters) Part (a) Frequency and time period. fo=70; To=1/fo; S1-4111111; S2 3111111; K1= (S1+S2)/1e9; %%%Cosine function Step size and timing%%% T1=-2*To; T2=2*To; Dt=To/50; To=1/fo; to=-K1; %% delay Time array T=T1: Dt: T2; Definition of x (t) %% X=2*cos (2*pi*fo.* (T-to)); plot (T, X, 'k', 'linewidth', 2); xlabel ('Time (seconds) ') ylabel ('x (t) ') title('fo=70 Hz, K1= .00722') Important commands Cosine function T1=-4e-3; T2=4e-3; Part (b) Dt=1e-5; To2=1/fo2; %%Time array T=T1: Dt: T2; fo=70 Hz, K1=.008 WW -2 2 -4 1.5 1 受。 0.5 Step size and timing%%% 2 1.5 1 IW 0.5 受。 -0.5 Definition of x (t) %% Y=2*cos (2*pi*fo2. *T-pi/4); -1 -1.5 -0.5 -1 -1.5 -2 -0.03 -0.02 -3 -0.01 -2 0 Time (seconds) fo=278.0424 Hz -1 0 Time (seconds) 1 0.01 0.02 2 3 4 x 10-3 0.03
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Different Types of System and Its Property
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Introductory Circuit Analysis (13th Edition)
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:
9780133923605
Author:
Robert L. Boylestad
Publisher:
PEARSON
Delmar's Standard Textbook Of Electricity
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:
9781337900348
Author:
Stephen L. Herman
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Electrical Engineering
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education
Fundamentals of Electric Circuits
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:
9780078028229
Author:
Charles K Alexander, Matthew Sadiku
Publisher:
McGraw-Hill Education
Electric Circuits. (11th Edition)
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:
9780134746968
Author:
James W. Nilsson, Susan Riedel
Publisher:
PEARSON
Engineering Electromagnetics
Engineering Electromagnetics
Electrical Engineering
ISBN:
9780078028151
Author:
Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:
Mcgraw-hill Education,