%\begin{document}
\chapter{Zdrojové kódy v programu MATLAB}


\lstset{language=Matlab,%
    %basicstyle=\color{red},
    breaklines=true,%
    morekeywords={matlab2tikz},
    keywordstyle=\color{blue},%
    morekeywords=[2]{1}, keywordstyle=[2]{\color{black}},
    identifierstyle=\color{black},%
    stringstyle=\color{mylilas},
    commentstyle=\color{mygreen},%
    showstringspaces=false,%without this there will be a symbol in the places where there is a space
    numbers=left,%
    numberstyle={\tiny \color{black}},% size of the numbers
    numbersep=9pt, % this defines how far the numbers are from the text
    emph=[1]{for,end,break},emphstyle=[1]\color{red}, %some words to emphasise
    %emph=[2]{word1,word2}, emphstyle=[2]{style},    
}

\section{CIC filtr}
\label{priloha-cic}
\lstinputlisting{sourcecode/CIC_design.m}

\newpage
\section{FIR filtr}
\label{priloha-fir}

\lstinputlisting{sourcecode/FIR_design.m}

% ==============================================================================================
%\chapter{Zdrojové kódy ostatní}
\newpage
\section{Převodní tabulka}
\label{priloha-prevod}
\lstinputlisting{sourcecode/prevod_signed_usinged.m}

\newpage
\label{sec-romsinus}
\section{Pamě ROM funkce sinus}
\lstinputlisting{sourcecode/LUT_sinus.m}

% ==============================================================================================
% Příloha SIMULINK
%\newgeometry{left=5cm, bottom=0.1cm, top=2cm, paper=a3paper}				% změna okrajů pro následující stránku
\chapter{Schéma pro simulaci v~nástroji simulink}

\begin{figure}[ht]
  \begin{center}
    \includegraphics[scale = 0.62, angle = 90]{obr/simulink-model-all}
  \end{center}
  \caption{Blokové schéma v~nástroji Simulink}	
  \label{Obr_simulink_all}
\end{figure}

%\immediate\write18{pdflatex mwe_a3}





%\end{document}


