Professional Documents
Culture Documents
Research Methodology PH798 Assignment #01
Research Methodology PH798 Assignment #01
Assignment #01
Contents:
• Introduction to Latex
• Latex Example
• Introduction to Matlab
• Plotting in Matlab
• Labelling axis
• Legends
• Subplots
Introduction to Latex
• LaTeX is a high-quality typesetting system it includes features design for the production
of technical and scientific document.
• Most mathematicians and many other people use LaTeX to typeset papers, exams, books,
and more.
•Even complex structures such as footnotes, references, table of contents, and bibliographies can
be generated easily.
Installing LaTeX
•In Windows
•MiKTeX
–It is generally recommended to install MiKTeX first, then an editor of your own choice.
•A text editor
a. Acknowledgement
b. Preface
c. foreword
e. Table of content
f. list of figures
g. list of publications
Body:
c. Graphics
d. Tables
e. Formulas
Back Matter:
a. Conclusions
b. Index
c. bibliography (references)
d. glossary
Example:
\begin document
\title{test document}
\end document
\begin document
\title {Test document}
\begin {equation}
y= mx+c
\end {equation}
Footnotes/Quotes/Equations:
•\footnote {}
•` ’, `` ’’ for quotations
•Mathematical Equations
–$ 1+4=5 $
–^{}, _{}
•It is more convenient to create a bibliography file, called bibtexfile(.bib) and use it as needed.
•Most text editors are capable of creating a bib file, but there are more convenient tools out there.
•JabRef(http://jabref.sourceforge.net/)
\caption{Diagram of equipment setup used for the HeNe laser test experiments} %Caption for
the figure
\label{fg:lasertest} %Label name for the figure, use this to reference it later.
\end{figure}
Including Equations:
•Including equations
\begin{align}
\end{align}
TABLES:
•The code looks complicated
begin{table}[htbp]
\centering
\begin{tabular}{||l|cr|}
\hline
\hline
1 & 3 & 5 \\ 1 2 3
\hline
\end{tabular}
\caption{Table Caption}
\label{tab:table_label}
\end{table}
Common Mistakes:
•Often times, you make a mistake when creating a document. You will notice the log file
reporting a problem.
–$ doesn’t follow $
–Using commands from packages lot defined in the preamble
Introduction to MATLAB:
MATLAB is a programming platform designed specifically for engineers and scientists.
The heart of MATLAB is the MATLAB language a metrix based language allowing the most
natural expression of computational Mathematics.
We can analyze data, Develop algorithms and can create models and applications using
MATLAB.
Millions of engineers and scientists in industry and academia use MATLAB. It can be used for a
range of application including deep learning and machine learning,Signal processing and
communications, Image and video processing, Control systems, Test and measurements and also
for Computational finance.
clear all
plot(x,y)