\documentclass[a4paper,12pt,pdftex]{exam} \newcommand{\ptitle}{Spectra} \input{../header.tex} \firstpagefooter{Supervisor: Jan Grewe}{phone: 29 74588}% {email: jan.grewe@uni-tuebingen.de} \begin{document} \input{../instructions.tex} %%%%%%%%%%%%%% Questions %%%%%%%%%%%%%%%%%%%%%%%%% \begin{questions} \question The accompanying file contains ten stimulus and response sequences of a P-Unit of a weakly electric fish {\em Apteronotus leptorhynchus}. Another matrix contains the corresponding {\em electric organ discharge (EOD)} of the fish. The sampling rate is 100kHz. \begin{parts} \part Split the data in non-overlapping 200ms windows and plot them in an appropriate way. \part Compute the autocorrelation of the spike response as well as the cross-correlation between stimulus and spike response. \part Determine the fundamental stimulus frequency and the EOD frequency using a Fourier transform. \part Convolve the spike responses (windows) with a Gaussian of appropriate size and compute the average Fourier amplitude spectrum of the spike response. Plot the result in an appropriate way. \part Determine whether you can find peak in the amplitude spectrum at the fundamental frequency of the EOD and/or the stimulus and/or their difference. \end{parts} \end{questions} \end{document}