Seite 1 von 1

Questions Exercise 1

Verfasst: 2. Mär 2012 10:46
von DreamFlasher

we should start using the forum for some questions of generel interest ;)
So our questions to exercise 1:
- 1.3: Why isn't the acceleration force for component q1: \((m1+m2)*\ddot{q_1}\) as both masses affect joint 1?


Re: Questions Exercise 1

Verfasst: 3. Mär 2012 01:04
von franzose
Please apologize if I haven't understood your question, but actually I think that in the solution the mass matrix for \(u_1\) exactly does what you suggested (at least for the part that is dependent from \(\ddot{q_1}\)):

You have \(M(q) * \ddot{q}\) so you have to multiply the matrix with the vector \((\ddot{q_1}, \ddot{q_2})^T\) and in the first row and first col of the matrix there is \(m_1 + m_2\).

This results to \(u_1 = (m_1 + m_2) * \ddot{q_1} + k * \ddot{q_2}\) with \(k\) being the term in the first row and second col of the mass matrix.

Re: Questions Exercise 1

Verfasst: 26. Nov 2012 22:34
von lustiz
Another question for you guys, concerning exercise 1.2 b) (Linear Least Squares):

Are we supposed to include a bias term? As far as I know you usually include a bias yet if we talk about 2 features, does that mean
a) [ sin(x); sin(2x) ] or
b) [ 1; sin(x); sin(2x) ] ?

Thanks in advance!


Re: Questions Exercise 1

Verfasst: 27. Nov 2012 01:38
von lustiz
Also: Is the kernel function right in 1.2 (f) ?
I get pretty good results when I use
\(k(x_i, x_j) = e ^ \frac{- 0.5 || x_i - x_j ||^2}{\sigma^2}\)

However, there is no hope when I use the proposed one:
\(k(x_i, x_j) = e ^ \frac{|| x_i - x_j ||^2}{\sigma^2}\)

Any suggestions?

Re: Questions Exercise 1

Verfasst: 27. Nov 2012 11:59
von eesti
as it was written in the email, there is a type - a minus is missing:
\(k(x_i, x_j) =e^\frac{-\|x_i−x_j\|^2}{\sigma^2}\)