Can somebody tell me what this notation means?

조회 수: 2 (최근 30일)
Ashmika Gupta
Ashmika Gupta 2021년 6월 24일
댓글: Ashmika Gupta 2021년 6월 24일
Hi, everyone! I am reading through a textbook which integrates the use of MATLAB and I don't quite understand what this notation means.
K(lm, lm) = K(lm, lm) + k
Any help would be appreciated! Thank you!

채택된 답변

Mouhamed Niasse
Mouhamed Niasse 2021년 6월 24일
Hello,
You're adding 'k' to the value initially stored at the location row 'lm' column 'lm' in the matrix K.
For example,
>> K=ones(3,3)
K =
1 1 1
1 1 1
1 1 1
>> k=5
k =
5
>> K(2,2)=K(2,2)+k
K =
1 1 1
1 6 1
1 1 1

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Just for fun에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by