SMath Studio Forum
»
SMath Studio
»
Questions
»
using lookup function not work in sqrt command
![xyonx xyonx](/forum/resource.ashx?url=http%3a%2f%2fen.smath.info%2fforum%2fImages%2fAvatars%2fCommon%2fSampleAvatar.gif&width=100&height=100) ![](/forum/Images/Ranks/Member.png) Rank: Member Groups: Registered
Joined: 16/05/2012(UTC) Posts: 10 Location: indonesia
|
hi all, i try using lookup function descirebed by admin, however it's not work in using sqrt commands. ![none none](http://s15.postimage.org/t0c365zsr/Screen_Shot00210.png) what a poblem? anybody can help? thx u
|
|
|
|
![omorr omorr](/forum/resource.ashx?u=274) ![](/forum/Images/Ranks/Administration.png) Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 ![Man Man](/forum/Themes/yafvision/male.gif) ![Serbia Serbia](/forum/Content/images/flags/SP.png) Was thanked: 318 time(s) in 268 post(s)
|
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:
x:mat(6,1,1)
sqrt(el(x,1))=2.4495
Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
![xyonx xyonx](/forum/resource.ashx?url=http%3a%2f%2fen.smath.info%2fforum%2fImages%2fAvatars%2fCommon%2fSampleAvatar.gif&width=100&height=100) ![](/forum/Images/Ranks/Member.png) Rank: Member Groups: Registered
Joined: 16/05/2012(UTC) Posts: 10 Location: indonesia
|
hi, when using lookup function the bracket are in matrix mode by default ![none none](http://s15.postimage.org/wa751asp7/2012_05_18_192154.png) i can not using these extracted data from lookup function to make further calculation using sqrt commands thx u
|
|
|
|
![Davide Carpi Davide Carpi](/forum/resource.ashx?u=1544) ![](/forum/Images/Ranks/Advanced-Member.png) Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,725 ![Man Man](/forum/Themes/yafvision/male.gif) ![Italy Italy](/forum/Content/images/flags/IT.png) Location: Italy Was thanked: 1393 time(s) in 909 post(s)
|
Hi, there are two errors ![](http://smath.info/wiki/GetFile.aspx?File=Examples%2fvlookup_debug.png) here is the file in the image: vlookup_debug.zipregards, w3b5urf3r |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
![xyonx xyonx](/forum/resource.ashx?url=http%3a%2f%2fen.smath.info%2fforum%2fImages%2fAvatars%2fCommon%2fSampleAvatar.gif&width=100&height=100) ![](/forum/Images/Ranks/Member.png) Rank: Member Groups: Registered
Joined: 16/05/2012(UTC) Posts: 10 Location: indonesia
|
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
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
using lookup function not work in sqrt command
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.