how to create diagonal matrix while there is condition for each diagonal element
조회 수: 1 (최근 30일)
이전 댓글 표시
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
Fabio Freschi
2019년 11월 10일
Can you provide more insight about the problem, such as the meaning of k,j,y...
답변 (0개)
참고 항목
카테고리
Help Center 및 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!