How can i differentiate a matrix by vector??
显示 更早的评论
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 个评论
Torsten
2017-12-13
If you tell us what it means to "differentiate a matrix by a vector", maybe somebody can help.
Best wishes
Torsten.
CHANDRASHEKARA TALKAD NAGARAJU
2017-12-13
Torsten
2017-12-13
What is dK/d mu ?
Could you show it for a simple example ?
Best wishes
Torsten.
回答(1 个)
Tony Cheng
2018-12-14
0 个投票
maybe you can differentiate each column of the matrix by the vector, then assemble the results together as a new matrix.
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!