calling a matrix with indexing
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!