필터 지우기
필터 지우기

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 CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by