5th semester files
This commit is contained in:
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
@ -0,0 +1,16 @@
|
||||
\relax
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {I}Introduction \& Objectives}{1}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {II}Background}{1}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {III}Results \& Discussion}{1}{}\protected@file@percent }
|
||||
\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces The difference of two unit steps with different delays}}{1}{}\protected@file@percent }
|
||||
\newlabel{fig:dif-ustep}{{1}{1}}
|
||||
\@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces A square wave}}{1}{}\protected@file@percent }
|
||||
\newlabel{fig:square}{{2}{1}}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {IV}Conclusion}{1}{}\protected@file@percent }
|
||||
\@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces A high frequency sine wave}}{2}{}\protected@file@percent }
|
||||
\newlabel{fig:sine}{{3}{2}}
|
||||
\@writefile{lof}{\contentsline {figure}{\numberline {4}{\ignorespaces A sinusoidal wave with increasing frequency}}{2}{}\protected@file@percent }
|
||||
\newlabel{fig:chirp1}{{4}{2}}
|
||||
\@writefile{lof}{\contentsline {figure}{\numberline {5}{\ignorespaces Taking the cosine of a sine wave}}{2}{}\protected@file@percent }
|
||||
\newlabel{fig:chirp2}{{5}{2}}
|
||||
\gdef \@abspage@last{2}
|
@ -0,0 +1,310 @@
|
||||
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/CVE-2023-32700 patched) (preloaded format=pdflatex 2023.8.22) 28 OCT 2023 20:00
|
||||
entering extended mode
|
||||
\write18 enabled.
|
||||
%&-line parsing enabled.
|
||||
**/tmp/nvim.sharpe/oEH2CP/0
|
||||
(/tmp/nvim.sharpe/oEH2CP/0
|
||||
LaTeX2e <2022-06-01> patch level 5
|
||||
L3 programming layer <2022-12-17>
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/ieeetran/IEEEtran.cls
|
||||
Document Class: IEEEtran 2015/08/26 V1.8b by Michael Shell
|
||||
-- See the "IEEEtran_HOWTO" manual for usage information.
|
||||
-- http://www.michaelshell.org/tex/ieeetran/
|
||||
\@IEEEtrantmpdimenA=\dimen140
|
||||
\@IEEEtrantmpdimenB=\dimen141
|
||||
\@IEEEtrantmpdimenC=\dimen142
|
||||
\@IEEEtrantmpcountA=\count185
|
||||
\@IEEEtrantmpcountB=\count186
|
||||
\@IEEEtrantmpcountC=\count187
|
||||
\@IEEEtrantmptoksA=\toks16
|
||||
LaTeX Font Info: Trying to load font information for OT1+ptm on input line 5
|
||||
03.
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1ptm.fd
|
||||
File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm.
|
||||
)
|
||||
-- Using 8.5in x 11in (letter) paper.
|
||||
-- Using PDF output.
|
||||
\@IEEEnormalsizeunitybaselineskip=\dimen143
|
||||
-- This is a 10 point document.
|
||||
\CLASSINFOnormalsizebaselineskip=\dimen144
|
||||
\CLASSINFOnormalsizeunitybaselineskip=\dimen145
|
||||
\IEEEnormaljot=\dimen146
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <5> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1090.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <5> not available
|
||||
(Font) Font shape `OT1/ptm/b/it' tried instead on input line 1090.
|
||||
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1090.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <7> not available
|
||||
(Font) Font shape `OT1/ptm/b/it' tried instead on input line 1090.
|
||||
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <8> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1090.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <8> not available
|
||||
(Font) Font shape `OT1/ptm/b/it' tried instead on input line 1090.
|
||||
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <9> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1090.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <9> not available
|
||||
(Font) Font shape `OT1/ptm/b/it' tried instead on input line 1090.
|
||||
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <10> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1090.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <10> not available
|
||||
(Font) Font shape `OT1/ptm/b/it' tried instead on input line 1090.
|
||||
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <11> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1090.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <11> not available
|
||||
(Font) Font shape `OT1/ptm/b/it' tried instead on input line 1090.
|
||||
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <12> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1090.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <12> not available
|
||||
(Font) Font shape `OT1/ptm/b/it' tried instead on input line 1090.
|
||||
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <17> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1090.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <17> not available
|
||||
(Font) Font shape `OT1/ptm/b/it' tried instead on input line 1090.
|
||||
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <20> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1090.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <20> not available
|
||||
(Font) Font shape `OT1/ptm/b/it' tried instead on input line 1090.
|
||||
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <24> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1090.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <24> not available
|
||||
(Font) Font shape `OT1/ptm/b/it' tried instead on input line 1090.
|
||||
|
||||
\IEEEquantizedlength=\dimen147
|
||||
\IEEEquantizedlengthdiff=\dimen148
|
||||
\IEEEquantizedtextheightdiff=\dimen149
|
||||
\IEEEilabelindentA=\dimen150
|
||||
\IEEEilabelindentB=\dimen151
|
||||
\IEEEilabelindent=\dimen152
|
||||
\IEEEelabelindent=\dimen153
|
||||
\IEEEdlabelindent=\dimen154
|
||||
\IEEElabelindent=\dimen155
|
||||
\IEEEiednormlabelsep=\dimen156
|
||||
\IEEEiedmathlabelsep=\dimen157
|
||||
\IEEEiedtopsep=\skip47
|
||||
\c@section=\count188
|
||||
\c@subsection=\count189
|
||||
\c@subsubsection=\count190
|
||||
\c@paragraph=\count191
|
||||
\c@IEEEsubequation=\count192
|
||||
\abovecaptionskip=\skip48
|
||||
\belowcaptionskip=\skip49
|
||||
\c@figure=\count193
|
||||
\c@table=\count194
|
||||
\@IEEEeqnnumcols=\count195
|
||||
\@IEEEeqncolcnt=\count196
|
||||
\@IEEEsubeqnnumrollback=\count197
|
||||
\@IEEEquantizeheightA=\dimen158
|
||||
\@IEEEquantizeheightB=\dimen159
|
||||
\@IEEEquantizeheightC=\dimen160
|
||||
\@IEEEquantizeprevdepth=\dimen161
|
||||
\@IEEEquantizemultiple=\count198
|
||||
\@IEEEquantizeboxA=\box51
|
||||
\@IEEEtmpitemindent=\dimen162
|
||||
\IEEEPARstartletwidth=\dimen163
|
||||
\c@IEEEbiography=\count199
|
||||
\@IEEEtranrubishbin=\box52
|
||||
) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR)
|
||||
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
|
||||
\KV@toks@=\toks17
|
||||
)
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
Package: graphics 2022/03/10 v1.4e Standard LaTeX Graphics (DPC,SPQR)
|
||||
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
|
||||
Package: trig 2021/08/11 v1.11 sin cos tan (DPC)
|
||||
)
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
|
||||
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
|
||||
)
|
||||
Package graphics Info: Driver file: pdftex.def on input line 107.
|
||||
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def
|
||||
File: pdftex.def 2022/09/22 v1.2b Graphics/color driver for pdftex
|
||||
))
|
||||
\Gin@req@height=\dimen164
|
||||
\Gin@req@width=\dimen165
|
||||
)
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty
|
||||
\lst@mode=\count266
|
||||
\lst@gtempboxa=\box53
|
||||
\lst@token=\toks18
|
||||
\lst@length=\count267
|
||||
\lst@currlwidth=\dimen166
|
||||
\lst@column=\count268
|
||||
\lst@pos=\count269
|
||||
\lst@lostspace=\dimen167
|
||||
\lst@width=\dimen168
|
||||
\lst@newlines=\count270
|
||||
\lst@lineno=\count271
|
||||
\lst@maxwidth=\dimen169
|
||||
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty
|
||||
File: lstmisc.sty 2020/03/24 1.8d (Carsten Heinz)
|
||||
\c@lstnumber=\count272
|
||||
\lst@skipnumbers=\count273
|
||||
\lst@framebox=\box54
|
||||
)
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg
|
||||
File: listings.cfg 2020/03/24 1.8d listings configuration
|
||||
))
|
||||
Package: listings 2020/03/24 1.8d (Carsten Heinz)
|
||||
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
|
||||
Package: xcolor 2022/06/12 v2.14 LaTeX color extensions (UK)
|
||||
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg
|
||||
File: color.cfg 2016/01/02 v1.6 sample color configuration
|
||||
)
|
||||
Package xcolor Info: Driver file: pdftex.def on input line 227.
|
||||
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/graphics/mathcolor.ltx)
|
||||
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1353.
|
||||
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1357.
|
||||
Package xcolor Info: Model `RGB' extended on input line 1369.
|
||||
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1371.
|
||||
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1372.
|
||||
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1373.
|
||||
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1374.
|
||||
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1375.
|
||||
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1376.
|
||||
)
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
|
||||
File: l3backend-pdftex.def 2022-10-26 L3 backend support: PDF output (pdfTeX)
|
||||
\l__color_backend_stack_int=\count274
|
||||
\l__pdf_internal_box=\box55
|
||||
)
|
||||
|
||||
LaTeX Warning: Unused global option(s):
|
||||
[report].
|
||||
|
||||
(./Lab-02.aux)
|
||||
\openout1 = `Lab-02.aux'.
|
||||
|
||||
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 31.
|
||||
LaTeX Font Info: ... okay on input line 31.
|
||||
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 31.
|
||||
LaTeX Font Info: ... okay on input line 31.
|
||||
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 31.
|
||||
LaTeX Font Info: ... okay on input line 31.
|
||||
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 31.
|
||||
LaTeX Font Info: ... okay on input line 31.
|
||||
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 31.
|
||||
LaTeX Font Info: ... okay on input line 31.
|
||||
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 31.
|
||||
LaTeX Font Info: ... okay on input line 31.
|
||||
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 31.
|
||||
LaTeX Font Info: ... okay on input line 31.
|
||||
|
||||
-- Lines per column: 58 (exact).
|
||||
(/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
|
||||
[Loading MPS to PDF converter (version 2006.09.02).]
|
||||
\scratchcounter=\count275
|
||||
\scratchdimen=\dimen170
|
||||
\scratchbox=\box56
|
||||
\nofMPsegments=\count276
|
||||
\nofMParguments=\count277
|
||||
\everyMPshowfont=\toks19
|
||||
\MPscratchCnt=\count278
|
||||
\MPscratchDim=\dimen171
|
||||
\MPnumerator=\count279
|
||||
\makeMPintoPDFobject=\count280
|
||||
\everyMPtoPDFconversion=\toks20
|
||||
) (/usr/share/texlive/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
|
||||
Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf
|
||||
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
|
||||
85.
|
||||
|
||||
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
|
||||
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
|
||||
e
|
||||
))
|
||||
\c@lstlisting=\count281
|
||||
LaTeX Font Info: External font `cmex10' loaded for size
|
||||
(Font) <7> on input line 45.
|
||||
LaTeX Font Info: External font `cmex10' loaded for size
|
||||
(Font) <5> on input line 45.
|
||||
<DifferenceOfUnitSteps.png, id=1, 2949.0175pt x 1454.43375pt>
|
||||
File: DifferenceOfUnitSteps.png Graphic file (type png)
|
||||
<use DifferenceOfUnitSteps.png>
|
||||
Package pdftex.def Info: DifferenceOfUnitSteps.png used on input line 48.
|
||||
(pdftex.def) Requested size: 247.6778pt x 122.1494pt.
|
||||
|
||||
|
||||
LaTeX Warning: `h' float specifier changed to `ht'.
|
||||
|
||||
<SquareWave.png, id=2, 2949.0175pt x 1454.43375pt>
|
||||
File: SquareWave.png Graphic file (type png)
|
||||
<use SquareWave.png>
|
||||
Package pdftex.def Info: SquareWave.png used on input line 56.
|
||||
(pdftex.def) Requested size: 247.6778pt x 122.1494pt.
|
||||
|
||||
LaTeX Warning: `h' float specifier changed to `ht'.
|
||||
|
||||
<SineWave.png, id=3, 2949.0175pt x 1454.43375pt>
|
||||
File: SineWave.png Graphic file (type png)
|
||||
<use SineWave.png>
|
||||
Package pdftex.def Info: SineWave.png used on input line 64.
|
||||
(pdftex.def) Requested size: 247.6778pt x 122.1494pt.
|
||||
|
||||
LaTeX Warning: `h' float specifier changed to `ht'.
|
||||
|
||||
<Chirp1.png, id=4, 2949.0175pt x 1454.43375pt>
|
||||
File: Chirp1.png Graphic file (type png)
|
||||
<use Chirp1.png>
|
||||
Package pdftex.def Info: Chirp1.png used on input line 72.
|
||||
(pdftex.def) Requested size: 247.6778pt x 122.1494pt.
|
||||
|
||||
LaTeX Warning: `h' float specifier changed to `ht'.
|
||||
|
||||
<Chirp2.png, id=5, 1466.47874pt x 1454.43375pt>
|
||||
File: Chirp2.png Graphic file (type png)
|
||||
<use Chirp2.png>
|
||||
Package pdftex.def Info: Chirp2.png used on input line 80.
|
||||
(pdftex.def) Requested size: 247.6778pt x 245.63039pt.
|
||||
|
||||
LaTeX Warning: `h' float specifier changed to `ht'.
|
||||
|
||||
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}
|
||||
|
||||
|
||||
<./DifferenceOfUnitSteps.png (PNG copy)> <./SquareWave.png (PNG copy)>] [2 <./
|
||||
SineWave.png (PNG copy)> <./Chirp1.png (PNG copy)> <./Chirp2.png (PNG copy)>] (
|
||||
./Lab-02.aux) )
|
||||
Here is how much of TeX's memory you used:
|
||||
4007 strings out of 476182
|
||||
64716 string characters out of 5796581
|
||||
1863793 words of memory out of 6000000
|
||||
24322 multiletter control sequences out of 15000+600000
|
||||
541596 words of font info for 80 fonts, out of 8000000 for 9000
|
||||
1137 hyphenation exceptions out of 8191
|
||||
55i,6n,62p,730b,261s stack positions out of 10000i,1000n,20000p,200000b,200000s
|
||||
{/usr/share/texlive/texmf-dist/fonts/enc/dvips/base/8r.enc}</usr
|
||||
/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb></usr/share
|
||||
/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/texli
|
||||
ve/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb></usr/share/texlive/texm
|
||||
f-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texlive/texmf-dist/
|
||||
fonts/type1/public/amsfonts/cm/cmr5.pfb></usr/share/texlive/texmf-dist/fonts/ty
|
||||
pe1/public/amsfonts/cm/cmr7.pfb></usr/share/texlive/texmf-dist/fonts/type1/publ
|
||||
ic/amsfonts/cm/cmsy10.pfb></usr/share/texlive/texmf-dist/fonts/type1/urw/times/
|
||||
utmb8a.pfb></usr/share/texlive/texmf-dist/fonts/type1/urw/times/utmbi8a.pfb></u
|
||||
sr/share/texlive/texmf-dist/fonts/type1/urw/times/utmr8a.pfb>
|
||||
Output written on Lab-02.pdf (2 pages, 303976 bytes).
|
||||
PDF statistics:
|
||||
67 PDF objects out of 1000 (max. 8388607)
|
||||
37 compressed objects within 1 object stream
|
||||
0 named destinations out of 1000 (max. 500000)
|
||||
26 words of extra memory for PDF output out of 10000 (max. 10000000)
|
||||
|
Binary file not shown.
@ -0,0 +1,89 @@
|
||||
\documentclass[report]{IEEEtran}
|
||||
|
||||
\usepackage{graphicx}
|
||||
\usepackage{listings}
|
||||
\usepackage{xcolor}
|
||||
|
||||
\lstdefinestyle{codestyle}{
|
||||
commentstyle=\color{green},
|
||||
keywordstyle=\color{blue},
|
||||
numberstyle=\tiny\color{gray},
|
||||
stringstyle=\color{purple},
|
||||
basicstyle=\ttfamily\footnotesize,
|
||||
breakatwhitespace=false,
|
||||
breaklines=true,
|
||||
captionpos=b,
|
||||
keepspaces=true,
|
||||
numbers=left,
|
||||
numbersep=5pt,
|
||||
showspaces=false,
|
||||
showstringspaces=false,
|
||||
showtabs=false,
|
||||
tabsize=2
|
||||
}
|
||||
|
||||
\lstset{style=codestyle}
|
||||
|
||||
\title{Signal Modulation, Chirps, and Pulsations}
|
||||
|
||||
\author{Aidan Sharpe \& Elise Heim}
|
||||
|
||||
\begin{document}
|
||||
\maketitle
|
||||
|
||||
\begin{abstract}
|
||||
Through MATLAB, this lab helps in the understanding of combined signals. This is accomplished by generating the signals and viewing the results of their combination. This lab also takes a look at more complex signals such as chirps and pulsation, and how to create them.
|
||||
\end{abstract}
|
||||
|
||||
\section{Introduction \& Objectives}
|
||||
Signals can be altered in several fundamental ways. They can be scaled, shifted, or reflected in order to change one signal into another. Signals can also be added, subtracted, or multiplied by other signals in order to generate a new signal that combines their properties. This lab explores what changes can be seen when combining multiple signals. A visual representation aids in the understanding of how how signals combine together.
|
||||
|
||||
\section{Background}
|
||||
The simplest signal used in this lab is the unit step. It is defined as 0 when time is less than 0, and 1 when time is greater than 0. It looks like a single, infinitely long step, hence the name. A slightly more complex signal used is the square wave, which is a non-sinusoidal periodic waveform in which the sign of the output alternates at a steady rate. The duration at minimum and maximum is the same, and ideally the change occurs instantaneously. More complex signals within this lab include chirps and pulsations. Chirps are sinusoids with time-varying frequency, which means that they make interesting sounds. Pulsations are rapid changes in the amplitude of a signal.
|
||||
|
||||
\section{Results \& Discussion}
|
||||
The first step in this lab included generating a signal by advancing and delaying a unit step. The signal was $x(t) = u(t+20) - u(t-20)$. As shown in figure \ref{fig:dif-ustep}, the amplitude of this unit step is 1, and the signal is on between the times of -20 and 20. This displays how simple it is to turn a unit step into a square pulse.
|
||||
|
||||
\begin{figure}[h]
|
||||
\includegraphics[width=0.48\textwidth]{DifferenceOfUnitSteps.png}
|
||||
\caption{The difference of two unit steps with different delays}
|
||||
\label{fig:dif-ustep}
|
||||
\end{figure}
|
||||
|
||||
A square wave can be generated using modular arithmetic. Figure \ref{fig:square} shows such a wave. The square wave has an amplitude of 1 and alternates between 1 and 0 every 5 seconds.
|
||||
|
||||
\begin{figure}[h]
|
||||
\includegraphics[width=0.48\textwidth]{SquareWave.png}
|
||||
\caption{A square wave}
|
||||
\label{fig:square}
|
||||
\end{figure}
|
||||
|
||||
The signal $x(t) = 2\sin\left(250\pi*t - {\pi\over5}\right)$ is shown in figure \ref{fig:sine}. It is a simple, slightly modified sine wave. These modifications consist of only fundamental changes, meaning no signal combination.
|
||||
|
||||
\begin{figure}[h]
|
||||
\includegraphics[width=0.48\textwidth]{SineWave.png}
|
||||
\caption{A high frequency sine wave}
|
||||
\label{fig:sine}
|
||||
\end{figure}
|
||||
|
||||
However, when sine waves are combined with other signals, the result can be fascinating. In figure \ref{fig:chirp1}, a sine wave is combined with a quadratic, causing the frequency to increase proportionally to the square of $t$. Analytically, the combined signal is $x(t) = \cos\left(2t + {t^2 \over 4}\right)$. While technically a cosine, the signal is still considered sinusoidal. Importantly, changing the frequency has no effect on other properties of the signal such as amplitude and phase shift.
|
||||
|
||||
\begin{figure}[h]
|
||||
\includegraphics[width=0.48\textwidth]{Chirp1.png}
|
||||
\caption{A sinusoidal wave with increasing frequency}
|
||||
\label{fig:chirp1}
|
||||
\end{figure}
|
||||
|
||||
Frequency modulation does not have to be limited to simple signals, it can also be modulated with a periodic signal. In figure \ref{fig:chirp2}, the frequency changes sinusoidally. The signal shown is $x(t) = \cos\left(2t - 2\sin(t)\right)$. This concept is used in the real world in FM radio transmissions. In this way, radio receiver can be tuned to the baseline frequency, and the desired signal can be recovered.
|
||||
|
||||
\begin{figure}[h]
|
||||
\includegraphics[width=0.48\textwidth]{Chirp2.png}
|
||||
\caption{Taking the cosine of a sine wave}
|
||||
\label{fig:chirp2}
|
||||
\end{figure}
|
||||
|
||||
\section{Conclusion}
|
||||
Analytically combining signals can be challenging, especially when attempting to acquire a better intuition about emergent behaviors. For example, combining a sine wave with a ramp can be achieved in a handful of ways. If the sine wave is added to the ramp, it is analogous to adding an ever increasing voltage offset to an AC input. Alternatively, the product of a ramp and a sine wave yields a sine wave with constant frequency but ever increasing amplitude. Another option, the one used in this lab, is the chirp. The chirp seen in figure \ref{fig:chirp1} has a quadratically increasing frequency. If instead, a ramp was used, the chirp would have a linearly increasing frequency.
|
||||
|
||||
Clearly, there are a lot of ways to combine just two signals together. For this reason, it can be difficult to have a deep understanding without a visualization. In the real world, ideal signals do not exist, so by understanding more complex signals in the first place, real-world signals become more accessible.
|
||||
\end{document}
|
@ -0,0 +1,41 @@
|
||||
% Signal Generation 1
|
||||
% t = (-25:0.01:25)';
|
||||
% y = ustep(t,20) - ustep(t,-20);
|
||||
|
||||
% Signal Generation 2
|
||||
% t = (0:0.01:30)';
|
||||
% y = squarewave(t, 10);
|
||||
|
||||
% Signal Generation 3
|
||||
% t = (0:0.0002:0.3)';
|
||||
% y = 2*sin(250*pi*t - pi/5);
|
||||
|
||||
% Chirps
|
||||
%t = (0:0.05:40)';
|
||||
%A = 1;
|
||||
%omega0 = 2;
|
||||
|
||||
% Chirps 1
|
||||
% s = t.*t./4;
|
||||
|
||||
% Chirps 2
|
||||
% s = -2*sin(t);
|
||||
|
||||
% y = A*cos(omega0 * t + s);
|
||||
|
||||
% Chirps 3
|
||||
|
||||
% Beating/Pulsation
|
||||
t = (0:0.1:200)';
|
||||
NP = 51;
|
||||
dh = 2/NP;
|
||||
f = (159:dh:161)';
|
||||
A = 10;
|
||||
sum = zeros(length(t));
|
||||
for i = 0:NP
|
||||
sum = sum + 10*cos(2*pi*f(1)*t);
|
||||
end
|
||||
y = sum;
|
||||
|
||||
% Common
|
||||
plot(t, y, "linewidth",5);
|
Binary file not shown.
After Width: | Height: | Size: 54 KiB |
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Reference in New Issue
Block a user