eod project added
This commit is contained in:
parent
2c1d9d93fa
commit
91f9a36ab0
BIN
projects/project_eod/EOD_data.mat
Normal file
BIN
projects/project_eod/EOD_data.mat
Normal file
Binary file not shown.
10
projects/project_eod/Makefile
Normal file
10
projects/project_eod/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
latex:
|
||||
pdflatex *.tex > /dev/null
|
||||
pdflatex *.tex > /dev/null
|
||||
|
||||
clean:
|
||||
rm -rf *.log *.aux *.zip *.out auto
|
||||
rm -f `basename *.tex .tex`.pdf
|
||||
|
||||
zip: latex
|
||||
zip `basename *.tex .tex`.zip *.pdf *.dat *.mat
|
61
projects/project_eod/eod.tex
Executable file
61
projects/project_eod/eod.tex
Executable file
@ -0,0 +1,61 @@
|
||||
\documentclass[addpoints,10pt]{exam}
|
||||
\usepackage{url}
|
||||
\usepackage{color}
|
||||
\usepackage{hyperref}
|
||||
|
||||
\pagestyle{headandfoot}
|
||||
\runningheadrule
|
||||
\firstpageheadrule
|
||||
\firstpageheader{Scientific Computing}{Project Assignment}{11/05/2014
|
||||
-- 11/06/2014}
|
||||
%\runningheader{Homework 01}{Page \thepage\ of \numpages}{23. October 2014}
|
||||
\firstpagefooter{}{}{}
|
||||
\runningfooter{}{}{}
|
||||
\pointsinmargin
|
||||
\bracketedpoints
|
||||
|
||||
%\printanswers
|
||||
%\shadedsolutions
|
||||
|
||||
|
||||
\begin{document}
|
||||
%%%%%%%%%%%%%%%%%%%%% Submission instructions %%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\sffamily
|
||||
% \begin{flushright}
|
||||
% \gradetable[h][questions]
|
||||
% \end{flushright}
|
||||
|
||||
\begin{center}
|
||||
\input{../disclaimer.tex}
|
||||
\end{center}
|
||||
|
||||
%%%%%%%%%%%%%% Questions %%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\begin{questions}
|
||||
\question In the data file {\tt EOD\_data.mat} you find a time trace
|
||||
and the {\em electric organ discharge (EOD)} of a weakly electric
|
||||
fish {\em Apteronotus leptorhynchus}.
|
||||
\begin{parts}
|
||||
\part Load and plot the data in an appropriate way. Time is in
|
||||
seconds and the voltage is in mV/cm.
|
||||
\part Fit the following curve to the eod (select a smaller time
|
||||
window for fitting, not the entire trace) using least squares:
|
||||
$$f_{\omega_0,b_0,\varphi_1, ...,\varphi_n}(t) = b_0 +
|
||||
\sum_{j=1}^n \sin(2\pi j\omega_0\cdot t + \varphi_j ).$$
|
||||
$\omega_0$ is called {\em fundamental frequency}. The single terms
|
||||
$\sin(2\pi j\omega_0\cdot t + \varphi_j )$ are called {\em
|
||||
harmonic components}. The variables $\varphi_j$ are called {\em
|
||||
phases}. For the beginning choose $n=3$.
|
||||
\part Play around with $n$ and see how the fit changes. Plot the
|
||||
fits and the original curve for different choices of $n$. If you
|
||||
want you can also play the different fits and the original as
|
||||
sound.
|
||||
|
||||
\end{parts}
|
||||
\end{questions}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
\end{document}
|
Reference in New Issue
Block a user