Getting Vector of matrices output from a for loop

Getting Vector of matrices output from a for loop - Сообщения

#1 Опубликовано: 18.10.2012 00:38:37
farlanw

farlanw

0 сообщений из 9 понравились пользователям.

Группа: User

Hi,

I am puzzled why the attached code snippet does not appear to give me the desired vector of 2x2 matrices - the preview shows tha the loop has calculated the vector correctly , but when I check by printing the value of the holding variable, the values are all unchanged.

Can someone please clarify what is going on.

Thanks,

Farlan
Vector of matrices.sm (8 КиБ) скачан 41 раз(а).
#2 Опубликовано: 18.10.2012 02:55:18
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

Hello Farlan,

Move this region [MATH=eng]T.g:matrix(n.mbr,1)[/MATH] or delete it. It wil destroy your variable from the loop.
Afterwards, use symbolic equal to (CTRL+. or right arrow from the Arithmetic palette). See the picture please.

Regards,
Radovan

Vectorofmatrices.png
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений