calling a matrix with indexing
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!