how to create diagonal matrix while there is condition for each diagonal element
Afficher commentaires plus anciens
Greeting, I wanted to create a diagonal matrix that its elements are conditional as shown in the picture:

2 commentaires
Fabio Freschi
le 10 Nov 2019
Can you provide more insight about the problem, such as the meaning of k,j,y...
Ali Esmaeilpour
le 10 Nov 2019
Modifié(e) : Ali Esmaeilpour
le 10 Nov 2019
Réponses (0)
Catégories
En savoir plus sur Operating on Diagonal Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!