how to create diagonal matrix while there is condition for each diagonal element
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Fabio Freschi
il 10 Nov 2019
Can you provide more insight about the problem, such as the meaning of k,j,y...
Risposte (0)
Vedere anche
Categorie
Scopri di più su Operating on Diagonal Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!