calling a matrix with indexing

2 次查看(过去 30 天)
Mei Li
Mei Li 2014-2-20
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by