필터 지우기
필터 지우기

y(t)= a*t*exp(-a*t); z=summatio​n(A(i)*y(t​-T(i)).sum​mation from i=1 to J. i need to partially differentiate z wrt A() and T()

조회 수: 1 (최근 30일)
for the above equation i need to partially differentiate z wrt A() and T() . how do i include the summation in matlab code.
Thank you in advance
  댓글 수: 3
KOMALA PAWAR
KOMALA PAWAR 2016년 3월 26일
y(t)= a*t*exp(-a*t); z=summation(A(i)*y(t-T(i)).summation from i=1 to J. i need to partially differentiate z wrt A() and T().

댓글을 달려면 로그인하십시오.

답변 (1개)

Ced
Ced 2016년 3월 26일
And you want to do this symbolically? Looks to me that this would be a possibility:
1. create a variable for each summation index. You can do this e.g. using the syntax
a_vec = sym('a',1:J);
2. define the term z = sum(....)
3. differentiate w.r.t each variable, either in a loop, or in vector form using the jacobian function. See here:

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by