How can i differentiate a matrix by vector??

1 view (last 30 days)
I have a 4*4 matrix, K=[200 0 -100 0;0 200 0 -100;-100 0 150 ( mu * 100)-50;0 -100 -50 350] and a randomly generated 1000*1 vector mu.How can i differentiate K with respect to mu.
Thanks
  3 Comments
CHANDRASHEKARA TALKAD NAGARAJU
i want to find out dK/d mu..where K is 4*4 matrix which is mentioned above and mu is a 1000*1 vector.
Torsten
Torsten on 13 Dec 2017
What is dK/d mu ?
Could you show it for a simple example ?
Best wishes
Torsten.

Sign in to comment.

Answers (1)

Tony Cheng
Tony Cheng on 14 Dec 2018
maybe you can differentiate each column of the matrix by the vector, then assemble the results together as a new matrix.

Categories

Find more on Operating on Diagonal Matrices in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!