how to create diagonal matrix while there is condition for each diagonal element
显示 更早的评论
Greeting, I wanted to create a diagonal matrix that its elements are conditional as shown in the picture:

2 个评论
Fabio Freschi
2019-11-10
Can you provide more insight about the problem, such as the meaning of k,j,y...
Ali Esmaeilpour
2019-11-10
编辑:Ali Esmaeilpour
2019-11-10
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!