0% found this document useful (0 votes)
42 views7 pages

Lab 1

This document summarizes the results of 10 exercises completed as part of a lab exploring signals, waveforms, and simulations in Simulink. The exercises included: 1) generating and plotting common waveforms like square, triangle, and sawtooth waves; 2) plotting pulse trains; 3) using blocks to convert between units and representations; 4) manipulating bits; 5) combining waveforms using basic blocks; 6) exploring phase relationships between sine and cosine waves; 7) applying gain blocks to signals; 8) plotting functions; 9) averaging power measurements; and 10) combining multiple signals.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views7 pages

Lab 1

This document summarizes the results of 10 exercises completed as part of a lab exploring signals, waveforms, and simulations in Simulink. The exercises included: 1) generating and plotting common waveforms like square, triangle, and sawtooth waves; 2) plotting pulse trains; 3) using blocks to convert between units and representations; 4) manipulating bits; 5) combining waveforms using basic blocks; 6) exploring phase relationships between sine and cosine waves; 7) applying gain blocks to signals; 8) plotting functions; 9) averaging power measurements; and 10) combining multiple signals.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Courtney Galli ET3330 Lab 1 09/25/2013 Lab 1: Wiring, Sources, Displays and Simulation properties Exercise 1

Exercise 2

+ Square Wave
out 2 Hz Square Wave ck

3 2 1 0 -1 -2

-3 The constant block is used as a starting point placed at -3 for the square wave.

+ +

-3 -4 0 .5 1 1.5 2.5 3 Time (sec) Triangle Wave 2 3.5 4 4.5 5

2
out 2 Hz Triangle Wave ck

1 0 -1 -2 0 .5 1 1.5 2 2.5 3 Time (sec) 3.5 4 4.5 5

Sawtooth Wave
out 2 Hz Sawtooth Wave ck

2 1 0 -1 -2 0 .5 1 1.5 2 2.5 3 Time (sec) 3.5 4 4.5 5

Exercise 3
+ Plot 4 3
5 Hz Rect. Pulses
out ck

2 1 0 -1

-2

+ +

-2 -3 0 2 4 Time (sec) 6 8 10

Exercise 4
Plot Impulse t= 2.5 2 1 0 -1 0

5 6 Time (sec) Plot

10

2 1.23 Hz Impulse Train 1 0 -1 0

5 6 Time (sec) Plot

10

2 1 0 -1 0 1 2 3 4 5 6 Time (sec) 7 8 9 10

Exercise 5
The conversion block converts a number to a degree and vis versa.
100 Real -> dB dB -> Real

40.

100.

20.
100 Power -> dB dB -> Power 100.

1.44222 1.2
-0.8 Re/Im to im Mag/Ph
re mag ph mag Mag/Ph ph

1.2
to
re im

Re/Im

-.8

-.588003
45 15

deg -> rad

.785398
rad -> deg

45.

Hz -> rad/s

94.2478

rad/s -> Hz

15.

Exercise 6
The constants are bits from LSB to MSB which are converted from bits to a symbol or number then converted back one from MSB the other from LSB. 1 0 1 1

11.

1. 4->Sym (MSB) Sym->4 (MSB) 0 1. 1.

1. Sym->4 (LSB) 1. 0 1.

Exercise 7
Plot 1.0

The ramp provides the slop while the sin provides a sign wave and the sign provides a square wave.

.5 0 -.5

sin

-1.0 0 sign 2 1 0 -1 -2 0 2

4 6 Time (sec) Plot

10

4 6 Time (sec)

10

Exercise 8
+ Plot functions (XY Plot) 20 15 10 The formulas are displayed in waveforms on the plot. 5 0 -5 + + -x^3 +4.2x -5 -4 y(x) -10 -15 -20 -25 -30 -35 -40 -4 -3 -2 -1 0 1 2 Time (sec) 3 4 5 6

Exercise 9
Plot 1.00 .75 .50 1 Hz Sine ph (1 V) 1 Hz Cosine ph (1 V) .25 0 -.25 -.50 -.75 -1.00 -1 -.5 0 Time (sec) Plot 1.0 1 Hz Sine ph (1 V) .5 0 -.5 -1.0 -1 .5 1

1 Hz Sine ph (1 V)

-.5

0 Time (sec)

.5

Exercise 10
sig rs

26.9314 Av. Power (dBm)

+3. dB

sig rs

Av. Power (dBm)

29.9854

Plot 2.0 1.5


1 Hz Sine ph (1 V)

1.0 .5 -3. dB
23.9854
sig rs

0 -.5 -1.0 -1.5

Av. Power (dBm)

-2.0 0

.5

1.5 2 Time (sec)

2.5

You might also like