Problems with Matrix inversion

Problems with Matrix inversion - Сообщения

#1 Опубликовано: 18.04.2012 12:07:45
baldu

baldu

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

Группа: User

Hello,

i have some Problems with Matrix Inversion:

the Matrix is:

http://s7.directupload.net/file/d/2864/2qiobdfh_jpg.htm

the Result doesnt fit to Mathcad result:
http://s14.directupload.net/file/d/2864/lsxr79tp_jpg.htm
http://s1.directupload.net/file/d/2864/r3enm3au_jpg.htm

Do you know that Problem? or did i use wrong Syntax?

Thanks!

Adrian
#2 Опубликовано: 18.04.2012 12:13:15
Andrey Ivashov

Andrey Ivashov

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

Группа: Super Administrator

Hello.

Could you please send a file with an initial matrix to me or to post it on forum?

Regards.
#3 Опубликовано: 18.04.2012 12:22:12
baldu

baldu

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

Группа: User

Hello!

here is it:
http://www.file-upload.net/download-4282811/Matrix-Problems.sm.html

The main Problem is at the end: the solution deosnt work!

Thanks for you help!

Adrian
#4 Опубликовано: 18.04.2012 12:59:19
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello Adrian,

Just use the Numerical optimization for the last expression as well
[MATH=eng]gamma:B^{-1}*alfa[/MATH]
[MATH=eng]gamma=mat(0.059042586707757,0.109096474811639,0.142541413587456,0.154285714285714,0.142541413587457,0.109096474811639,0.059042586707757,7,1)[/MATH]

or use eval()
[MATH=eng]gamma:eval(B^{-1}*alfa)[/MATH]
[MATH=eng]gamma=mat(0.059042586707757,0.109096474811639,0.142541413587456,0.154285714285714,0.142541413587456,0.109096474811639,0.059042586707757,7,1)[/MATH]

In general, it is advisable to use Numerical optimization or eval() when matrix inversion is involved.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#5 Опубликовано: 06.12.2012 05:24:23
jirijirkas

jirijirkas

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

Группа: User

I want to ask you, if you find solution of the problem with inversion of the matrix, I have the same problem. From definition A*A^{-1}≡E and E have diagonal elements equal to one and other elements are equal to zero. But if I try A*A^{-1} in SMath, result is not identity matrix.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений