how to create diagonal matrix while there is condition for each diagonal element
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Fabio Freschi
el 10 de Nov. de 2019
Can you provide more insight about the problem, such as the meaning of k,j,y...
Respuestas (0)
Ver también
Categorías
Más información sobre Operating on Diagonal Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!