Can somebody tell me what this notation means?

2 visualizaciones (últimos 30 días)
Ashmika Gupta
Ashmika Gupta el 24 de Jun. de 2021
Comentada: Ashmika Gupta el 24 de Jun. de 2021
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!

Respuesta aceptada

Mouhamed Niasse
Mouhamed Niasse el 24 de Jun. de 2021
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

Más respuestas (0)

Categorías

Más información sobre Just for fun en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by