array with function inside
이전 댓글 표시
I have
dk =
0
(49*sin(x1_k))/50 - (49*x1_k)/50
and an array X 2xn
How can I obtain the array Dk 2xn where:
Dk(1, 1)= dk calculate in the point X(1,1)
Dk(2, 1)= dk calculate in the point X(2,1)
.
.
.
thanks
댓글 수: 1
darova
2019년 11월 26일
Looks correct for me
(49*sin(x1_k))/50 - (49*x1_k)/50 = 0
답변 (1개)
Walter Roberson
2019년 11월 26일
subs(dk, x1_k, X(:, 1))
카테고리
도움말 센터 및 File Exchange에서 Operators and Elementary Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!