how to create diagonal matrix while there is condition for each diagonal element
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Greeting, I wanted to create a diagonal matrix that its elements are conditional as shown in the picture:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/247620/image.jpeg)
2 Kommentare
Fabio Freschi
am 10 Nov. 2019
Can you provide more insight about the problem, such as the meaning of k,j,y...
Antworten (0)
Siehe auch
Kategorien
Mehr zu Operating on Diagonal Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!