day1/session4.tex
changeset 337 56aa2efbf7d9
parent 330 46533051b9d3
child 339 8ac5fe07810f
equal deleted inserted replaced
335:45bcdc34bf73 337:56aa2efbf7d9
   486 
   486 
   487 \begin{frame}[fragile]
   487 \begin{frame}[fragile]
   488 \frametitle{\typ{lstsq}}
   488 \frametitle{\typ{lstsq}}
   489 \begin{itemize}
   489 \begin{itemize}
   490 \item We need to fit a line through points for the equation $T^2 = m \cdot L+c$
   490 \item We need to fit a line through points for the equation $T^2 = m \cdot L+c$
   491 \item In matrix form, the equation can be represented as $T^2 = A \cdot p$, where A is   
   491 \item In matrix form, the equation can be represented as $T_{sq} = A \cdot p$, where $T_{sq}$ is
       
   492   $\begin{bmatrix}
       
   493   T^2_1 \\
       
   494   T^2_2 \\
       
   495   \vdots\\
       
   496   T^2_N \\
       
   497   \end{bmatrix}$
       
   498 , A is   
   492   $\begin{bmatrix}
   499   $\begin{bmatrix}
   493   L_1 & 1 \\
   500   L_1 & 1 \\
   494   L_2 & 1 \\
   501   L_2 & 1 \\
   495   \vdots & \vdots\\
   502   \vdots & \vdots\\
   496   L_N & 1 \\
   503   L_N & 1 \\