Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline xyonx  
#1 Posted : 17 May 2012 13:10:08(UTC)
xyonx


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

what a poblem? anybody can help?

thx u

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline omorr  
#2 Posted : 18 May 2012 09:27:35(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

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!"
Offline xyonx  
#3 Posted : 18 May 2012 15:28:56(UTC)
xyonx


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

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

thx u
Offline Davide Carpi  
#4 Posted : 18 May 2012 15:52:51(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
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.zip


regards,

w3b5urf3r
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline xyonx  
#5 Posted : 19 May 2012 22:45:17(UTC)
xyonx


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 Confusion
Users browsing this topic
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.