how to create diagonal matrix while there is condition for each diagonal element
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Fabio Freschi
le 10 Nov 2019
Can you provide more insight about the problem, such as the meaning of k,j,y...
Réponses (0)
Voir également
Catégories
En savoir plus sur Operating on Diagonal Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!