Replacing function variables with a vector before taking a gradient
이전 댓글 표시
I have a symbolic function:
A = 1/((C1*C2*R1*R2*w^2 - 1)^2 + w^2*(C2*R1 + C2*R2)^2)^(1/2)
I would like to replace C1, C2, R1, R2 symbolic variables with an x vector where C1 = C1_0*x(1); C2 = C2_0*x(2); R1 = R1_0*x(3); R2 = R2_0*x(4); and take a gradient of A by x. Whatever I tried failed to produce the result I am seeking.
댓글 수: 3
darova
2021년 7월 30일
To calcualte gradient/derivative you need at least two points for C1,C2 ...
Do you have them?
Valeri Aronov
2021년 7월 30일
Valeri Aronov
2021년 7월 31일
편집: Valeri Aronov
2021년 7월 31일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Assumptions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!