How to differentiate vector and matrix

How to differentiate vector and matrix - I need to differentiate a unit vector with 2 rows - Messaggi

#1 Pubblicato: 16/02/2018 08:09:50
Danvangx

Danvangx

0 apprezzamenti in 6 post.

Gruppo: User

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
#2 Pubblicato: 16/02/2018 08:44:09
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: Moderator

Hello [userlink]Danevangx[/userlink]

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

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 (7,47 KiB) scaricato 1379 volta(e).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
3 utenti hanno apprezzato questo post
Andrey Ivashov 16/02/2018 08:54:00, sergio 16/02/2018 09:00:00, frapuano 16/02/2018 09:56:00
#3 Pubblicato: 16/02/2018 09:09:21
Danvangx

Danvangx

0 apprezzamenti in 6 post.

Gruppo: User

thanks a lot Davide :-)
#4 Pubblicato: 16/02/2018 11:21:08
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

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


#5 Pubblicato: 16/02/2018 11:49:31
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: Moderator

Here is another one. Maxima has generic vector-/matrix handling

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

diffm.sm (3,68 KiB) scaricato 1339 volta(e).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#6 Pubblicato: 16/02/2018 11:49:36
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

DiffOterwise.PNG
#7 Pubblicato: 16/02/2018 11:56:05
Danvangx

Danvangx

0 apprezzamenti in 6 post.

Gruppo: User

thanks a lot Jean and Mkraska for youre answers to solve my problems :-)
  • Nuovi post
  • Nessun nuovo post