Differentiation of a vector wrt a vetor
2 views (last 30 days)
Show older comments
Pavan Kumar
on 3 Mar 2015
Commented: Pavan Kumar
on 3 Mar 2015
Hiii Friends,
Suppose i have two vectors
Ls = (1.2:0.0001:3.0).*1e-6;
delk = (x:y:z) %some vector
I would like to differentiate d(Ls)/d(delk).
How do i do it?
Advance thanks for the advice.
Pavan
0 Comments
Accepted Answer
Giorgos Papakonstantinou
on 3 Mar 2015
Assuming Ls and delk are of the same size:
diff(Ls)./diff(delk)
5 Comments
More Answers (0)
See Also
Categories
Find more on Logical 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!