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 Danevangx  
#1 Posted : 16 February 2018 14:09:50(UTC)
Danevangx

Rank: Newbie

Groups: Registered
Joined: 16/02/2018(UTC)
Posts: 6
Location: denmark

Hej i want to differentiate a unit vector like

u vektor.PNG

I can only differentiate fx row 2 like this


u vektor diffet.PNG


Can anybody help, thanks Good

Edited by user 16 February 2018 14:32:35(UTC)  | Reason: Not specified

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

Offline Davide Carpi  
#2 Posted : 16 February 2018 14:44:09(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)
Hello Danevangx Offline

You can use the function vectorize(), a loop, or ranged indices... choose the one that fit your needs Good

2018-02-16 12_47_00-SMath Studio - [diff.sm].png

2018-02-16 12_47_08-SMath Studio - [diff.sm].png

2018-02-16 12_47_14-SMath Studio - [diff.sm].png

diff.sm (8kb) downloaded 31 time(s).

Edited by user 16 February 2018 14:49:58(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 3 users thanked Davide Carpi for this useful post.
on 16/02/2018(UTC),  on 16/02/2018(UTC),  on 16/02/2018(UTC)
Offline Danevangx  
#3 Posted : 16 February 2018 15:09:21(UTC)
Danevangx

Rank: Newbie

Groups: Registered
Joined: 16/02/2018(UTC)
Posts: 6
Location: denmark

thanks a lot Davide :-)
Offline Jean Giraud  
#4 Posted : 16 February 2018 17:21:08(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Danevangx Go to Quoted Post
Hej i want to differentiate a unit vector like

This is NOT unit vector. My understanding is that you want
a general procedure to differentiate a function vector.
This simple demo procedure is the core algorithm in Smath fitting functions
1. Genfit ,,,, 2. linfiCheby

diffVectorFnct.PNG


Offline mkraska  
#5 Posted : 16 February 2018 17:49:31(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Here is another one. Maxima has generic vector-/matrix handling

2018-02-16 15_47_21-SMath Studio - [diffm.sm_].png

diffm.sm (4kb) downloaded 21 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Jean Giraud  
#6 Posted : 16 February 2018 17:49:36(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
DiffOterwise.PNG
Offline Danevangx  
#7 Posted : 16 February 2018 17:56:05(UTC)
Danevangx

Rank: Newbie

Groups: Registered
Joined: 16/02/2018(UTC)
Posts: 6
Location: denmark

thanks a lot Jean and Mkraska for youre answers to solve my problems :-)

Edited by user 16 February 2018 18:08:24(UTC)  | Reason: Not specified

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.