using lookup function not work in sqrt command

using lookup function not work in sqrt command - Messages

#1 Posted: 5/17/2012 6:10:08 AM
xyonx

xyonx

0 likes in 10 posts.

Group: 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 Posted: 5/18/2012 2:27:35 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: 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 Posted: 5/18/2012 8:28:56 AM
xyonx

xyonx

0 likes in 10 posts.

Group: 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 Posted: 5/18/2012 8:52:51 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: 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 Posted: 5/19/2012 3:45:17 PM
xyonx

xyonx

0 likes in 10 posts.

Group: User

Quote

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
  • New Posts New Posts
  • No New Posts No New Posts