How can i differentiate a matrix by vector??
Show older comments
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
Torsten
on 13 Dec 2017
If you tell us what it means to "differentiate a matrix by a vector", maybe somebody can help.
Best wishes
Torsten.
CHANDRASHEKARA TALKAD NAGARAJU
on 13 Dec 2017
Torsten
on 13 Dec 2017
What is dK/d mu ?
Could you show it for a simple example ?
Best wishes
Torsten.
Answers (1)
Tony Cheng
on 14 Dec 2018
0 votes
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 Linear Algebra 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!