[pointprocesses] updated exercise
This commit is contained in:
parent
9075fe1be2
commit
6391c63765
@ -203,9 +203,9 @@ jan.benda@uni-tuebingen.de}
|
|||||||
\part Write a function that counts and returns the number of
|
\part Write a function that counts and returns the number of
|
||||||
spikes in windows of a given width $W$.
|
spikes in windows of a given width $W$.
|
||||||
|
|
||||||
Use this function to generate a histogram of spike counts for the
|
Use this function to generate a properly normalized histogram of
|
||||||
data of the three types of neurons. Use 100\,ms for the window
|
spike counts for the data of the three types of neurons. Use
|
||||||
width.
|
100\,ms for the window width.
|
||||||
\begin{solution}
|
\begin{solution}
|
||||||
\lstinputlisting{../code/spikecounts.m}
|
\lstinputlisting{../code/spikecounts.m}
|
||||||
\newsolutionpage
|
\newsolutionpage
|
||||||
@ -214,12 +214,12 @@ jan.benda@uni-tuebingen.de}
|
|||||||
\end{solution}
|
\end{solution}
|
||||||
|
|
||||||
\newsolutionpage
|
\newsolutionpage
|
||||||
\part Write a function that computes for a range of window
|
\part Write a function that computes for a range of window widths
|
||||||
widths the mean, the variance and the Fano factor of the
|
the mean, the variance and the Fano factor of the corresponding
|
||||||
corresponding spike counts. The function should generate two
|
spike counts. The function should generate two plots. One showing
|
||||||
plots. One showing the spike count variance in dependence on the
|
the spike count variance in dependence on the mean spike count
|
||||||
mean spike count. The other plot showing the Fano factor as a
|
(the mean spike count increases for larger window widths). The
|
||||||
function of window width.
|
other plot showing the Fano factor as a function of window width.
|
||||||
\begin{solution}
|
\begin{solution}
|
||||||
\lstinputlisting{../code/fanoplot.m}
|
\lstinputlisting{../code/fanoplot.m}
|
||||||
\newsolutionpage
|
\newsolutionpage
|
||||||
|
Reference in New Issue
Block a user