フィルターのクリア

Differentiation of a vector wrt a vetor

2 ビュー (過去 30 日間)
Pavan Kumar
Pavan Kumar 2015 年 3 月 3 日
コメント済み: Pavan Kumar 2015 年 3 月 3 日
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

採用された回答

Giorgos Papakonstantinou
Giorgos Papakonstantinou 2015 年 3 月 3 日
Assuming Ls and delk are of the same size:
diff(Ls)./diff(delk)
  5 件のコメント
Andrew Newell
Andrew Newell 2015 年 3 月 3 日
Ls and delk should have the same length.
Pavan Kumar
Pavan Kumar 2015 年 3 月 3 日
Thank you Andrew and Giorgos.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by