calling a matrix with indexing

2 visualizaciones (últimos 30 días)
Mei Li
Mei Li el 20 de Feb. de 2014
Dear all, I am not sure whether it is called inequality addition (for the sigma part) or anything, but I have to call the matrix to solve the equation. Here is the formula:
here is the variable: K=2; k=1:K; l=1:K, except l=k. for example:
Do you have any idea to generally write it in matlab? maybe using for or while function?
Thank you

Respuestas (0)

Categorías

Más información sobre Operating on Diagonal Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by