how to create diagonal matrix while there is condition for each diagonal element
3 views (last 30 days)
Show older comments
Greeting, I wanted to create a diagonal matrix that its elements are conditional as shown in the picture:
2 Comments
Fabio Freschi
on 10 Nov 2019
Can you provide more insight about the problem, such as the meaning of k,j,y...
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!