SMath Studio Forum
»
SMath Studio
»
Questions
»
using lookup function not work in sqrt command
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. what a poblem? anybody can help? thx u
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 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!" |
|
|
|
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 i can not using these extracted data from lookup function to make further calculation using sqrt commands thx u
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,639 Location: Italy Was thanked: 1323 time(s) in 873 post(s)
|
Hi, there are two errors 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 |
|
|
|
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.