using lookup function not work in sqrt command

using lookup function not work in sqrt command - 消息

#1 已发布: 2012/5/17 06:10:08
xyonx

xyonx

0个赞,共10个帖子。

组: User

hi all,

i try using lookup function descirebed by admin, however it's not work in using sqrt commands.

none

what a poblem? anybody can help?

thx u
#2 已发布: 2012/5/18 02:27:35
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: Moderator

Hello,

The problem is that "x" variable is a matrix with single element - pay attention on the brackets. Therefore, square root of a matrix is not defined in SMath.
Try this:

[MATH=eng]x:mat(6,1,1)[/MATH]

[MATH=eng]sqrt(el(x,1))=2.4495[/MATH]

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 已发布: 2012/5/18 08:28:56
xyonx

xyonx

0个赞,共10个帖子。

组: User

hi,

when using lookup function the bracket are in matrix mode by default

none

i can not using these extracted data from lookup function to make further calculation using sqrt commands

thx u
#4 已发布: 2012/5/18 08:52:51
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Hi,

there are two errors



here is the file in the image: vlookup_debug.zip


regards,

w3b5urf3r
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 已发布: 2012/5/19 15:45:17
xyonx

xyonx

0个赞,共10个帖子。

组: User

引用

use the "[" after typing "x" to add the vector index



thx u for clearly explains the typing method in previously posted by Ommor, it cut down my times and complexity using too much multiple branch
  • 有新帖
  • 无新帖