필터 지우기
필터 지우기

array with function inside

조회 수: 3 (최근 30일)
massimiliano frasca
massimiliano frasca 2019년 11월 26일
답변: Walter Roberson 2019년 11월 26일
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
darova 2019년 11월 26일
Looks correct for me
(49*sin(x1_k))/50 - (49*x1_k)/50 = 0

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

답변 (1개)

Walter Roberson
Walter Roberson 2019년 11월 26일
subs(dk, x1_k, X(:, 1))

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by