Question: Why do the summation index not count as a god matrix index?

Hi

I am on my way to construct a matrix for centripetal and Coriolis forces for a robot arm. However this requeers that I use a sum where the matrix index is the sumations index.

So I started testing things out before I constructed the full expresion, this is what I did.

According to the error page, this is du to that k in M[1,k] is an bad index, however in the sum this would be k=1 och k=2 whitch are vallid.

Do anybody know a way around this problem or can tell me what I did wrong.

 

Many thanks

Eric Ragnarsson

Please Wait...
´╗┐